1
0
Fork 0

nginx: re-enable quic/http3

This commit is contained in:
Daniel Kempkens 2023-04-03 15:03:52 +02:00
parent 0a0feed535
commit 760be91370
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
13 changed files with 14 additions and 0 deletions

View file

@ -39,6 +39,7 @@
services.nginx.virtualHosts."tictac.daniel.sx" = { services.nginx.virtualHosts."tictac.daniel.sx" = {
listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ]; listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ];
quic = true;
http3 = true; http3 = true;
onlySSL = true; onlySSL = true;

View file

@ -76,6 +76,7 @@ in
}; };
services.nginx.virtualHosts."${secret.container.weewx.hostname}" = { services.nginx.virtualHosts."${secret.container.weewx.hostname}" = {
quic = true;
http3 = true; http3 = true;
kTLS = true; kTLS = true;

View file

@ -40,6 +40,7 @@ in
services.nginx.virtualHosts."overflow.daniel.sx" = { services.nginx.virtualHosts."overflow.daniel.sx" = {
listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ]; listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ];
quic = true;
http3 = true; http3 = true;
root = "${anonymous-overflow-pkg}/share/anonymous-overflow/public/"; root = "${anonymous-overflow-pkg}/share/anonymous-overflow/public/";

View file

@ -20,6 +20,7 @@
services.nginx.virtualHosts."atuin-sync.kempkens.io" = { services.nginx.virtualHosts."atuin-sync.kempkens.io" = {
listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ]; listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ];
quic = true;
http3 = true; http3 = true;
onlySSL = true; onlySSL = true;

View file

@ -21,6 +21,7 @@
# Based on: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/web-apps/freshrss.nix # Based on: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/web-apps/freshrss.nix
services.nginx.virtualHosts."${secret.freshrss.virtualHost}" = { services.nginx.virtualHosts."${secret.freshrss.virtualHost}" = {
quic = true;
http3 = true; http3 = true;
root = "${config.services.freshrss.package}/p"; root = "${config.services.freshrss.package}/p";

View file

@ -44,6 +44,7 @@ in
services.nginx.virtualHosts."${fqdn}" = { services.nginx.virtualHosts."${fqdn}" = {
listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ]; listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ];
quic = true;
http3 = true; http3 = true;
onlySSL = true; onlySSL = true;

View file

@ -10,6 +10,7 @@
services.nginx.virtualHosts."${secret.nginx.hostnames.libreddit}" = { services.nginx.virtualHosts."${secret.nginx.hostnames.libreddit}" = {
listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ]; listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ];
quic = true;
http3 = true; http3 = true;
onlySSL = true; onlySSL = true;

View file

@ -71,6 +71,7 @@ in
}; };
services.nginx.virtualHosts."${web-domain}" = { services.nginx.virtualHosts."${web-domain}" = {
quic = true;
http3 = true; http3 = true;
root = "${config.services.mastodon.package}/public/"; root = "${config.services.mastodon.package}/public/";
@ -115,6 +116,7 @@ in
}; };
services.nginx.virtualHosts."mastodon-cdn.kempkens.io" = { services.nginx.virtualHosts."mastodon-cdn.kempkens.io" = {
quic = true;
http3 = true; http3 = true;
kTLS = true; kTLS = true;

View file

@ -49,6 +49,7 @@ in
services.nginx.virtualHosts."${secret.nginx.hostnames.nitter}" = { services.nginx.virtualHosts."${secret.nginx.hostnames.nitter}" = {
listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ]; listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ];
quic = true;
http3 = true; http3 = true;
root = "${nitter-pkg}/share/nitter/public/"; root = "${nitter-pkg}/share/nitter/public/";

View file

@ -21,6 +21,7 @@
}; };
services.nginx.virtualHosts."ntfy.kempkens.io" = { services.nginx.virtualHosts."ntfy.kempkens.io" = {
quic = true;
http3 = true; http3 = true;
forceSSL = true; forceSSL = true;

View file

@ -42,6 +42,7 @@ in
services.nginx.virtualHosts."ringo.daniel.sx" = { services.nginx.virtualHosts."ringo.daniel.sx" = {
listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ]; listenAddresses = [ "100.113.242.85" "[fd7a:115c:a1e0:ab12:4843:cd96:6271:f255]" ];
quic = true;
http3 = true; http3 = true;
onlySSL = true; onlySSL = true;

View file

@ -90,6 +90,7 @@
networking.firewall.allowedTCPPorts = [ 8008 ]; networking.firewall.allowedTCPPorts = [ 8008 ];
services.nginx.virtualHosts."matrix.kempkens.io" = { services.nginx.virtualHosts."matrix.kempkens.io" = {
quic = true;
http3 = true; http3 = true;
forceSSL = true; forceSSL = true;

View file

@ -7,6 +7,7 @@
(domain: { (domain: {
name = domain; name = domain;
value = { value = {
quic = true;
http3 = true; http3 = true;
kTLS = true; kTLS = true;