nginx: re-enable quic/http3
This commit is contained in:
parent
0a0feed535
commit
760be91370
13 changed files with 14 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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/";
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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/";
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
(domain: {
|
(domain: {
|
||||||
name = domain;
|
name = domain;
|
||||||
value = {
|
value = {
|
||||||
|
quic = true;
|
||||||
http3 = true;
|
http3 = true;
|
||||||
kTLS = true;
|
kTLS = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue