diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-31 13:31:37 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-31 13:31:37 +0100 |
commit | 60adb4c9388816d8b8eb17b2e844de8d1e0dc081 (patch) | |
tree | 2d40a05364ea1d3edd0b9cd7748a0683fa20a477 /hosts/surtr/http | |
parent | 41be54745e76d6b14221157d1e4474e980e2e70a (diff) | |
download | nixos-60adb4c9388816d8b8eb17b2e844de8d1e0dc081.tar nixos-60adb4c9388816d8b8eb17b2e844de8d1e0dc081.tar.gz nixos-60adb4c9388816d8b8eb17b2e844de8d1e0dc081.tar.bz2 nixos-60adb4c9388816d8b8eb17b2e844de8d1e0dc081.tar.xz nixos-60adb4c9388816d8b8eb17b2e844de8d1e0dc081.zip |
Revert "Revert "...""
This reverts commit 1e82933a01dcc3810d635567dbef0de286c1e8f2.
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"; |