diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-30 16:09:43 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-30 16:19:44 +0100 |
commit | 68645f75136d6e82bfb7e27b50c531d1b416c4d5 (patch) | |
tree | 12f4804798ad4c78507b05f5e3573a11c7ab8b0c /hosts/surtr/http | |
parent | 5915a25064e01c38c49787322ca1309d0da0386a (diff) | |
download | nixos-68645f75136d6e82bfb7e27b50c531d1b416c4d5.tar nixos-68645f75136d6e82bfb7e27b50c531d1b416c4d5.tar.gz nixos-68645f75136d6e82bfb7e27b50c531d1b416c4d5.tar.bz2 nixos-68645f75136d6e82bfb7e27b50c531d1b416c4d5.tar.xz nixos-68645f75136d6e82bfb7e27b50c531d1b416c4d5.zip |
...
Diffstat (limited to 'hosts/surtr/http')
-rw-r--r-- | hosts/surtr/http/default.nix | 2 | ||||
-rw-r--r-- | hosts/surtr/http/webdav/default.nix | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/hosts/surtr/http/default.nix b/hosts/surtr/http/default.nix index 3d7f3ebf..6b516b00 100644 --- a/hosts/surtr/http/default.nix +++ b/hosts/surtr/http/default.nix | |||
@@ -7,7 +7,7 @@ | |||
7 | config = { | 7 | config = { |
8 | services.nginx = { | 8 | services.nginx = { |
9 | enable = true; | 9 | enable = true; |
10 | # package = pkgs.nginxQuic; | 10 | package = pkgs.nginxQuic; |
11 | recommendedGzipSettings = true; | 11 | recommendedGzipSettings = true; |
12 | recommendedProxySettings = true; | 12 | recommendedProxySettings = true; |
13 | recommendedTlsSettings = true; | 13 | recommendedTlsSettings = true; |
diff --git a/hosts/surtr/http/webdav/default.nix b/hosts/surtr/http/webdav/default.nix index c5a94996..f94935ee 100644 --- a/hosts/surtr/http/webdav/default.nix +++ b/hosts/surtr/http/webdav/default.nix | |||
@@ -36,6 +36,8 @@ in { | |||
36 | 36 | ||
37 | virtualHosts."webdav.141.li" = { | 37 | virtualHosts."webdav.141.li" = { |
38 | forceSSL = true; | 38 | forceSSL = true; |
39 | kTLS = true; | ||
40 | http3 = true; | ||
39 | sslCertificate = "/run/credentials/nginx.service/webdav.141.li.pem"; | 41 | sslCertificate = "/run/credentials/nginx.service/webdav.141.li.pem"; |
40 | sslCertificateKey = "/run/credentials/nginx.service/webdav.141.li.key.pem"; | 42 | sslCertificateKey = "/run/credentials/nginx.service/webdav.141.li.key.pem"; |
41 | sslTrustedCertificate = "/run/credentials/nginx.service/webdav.141.li.chain.pem"; | 43 | sslTrustedCertificate = "/run/credentials/nginx.service/webdav.141.li.chain.pem"; |