From 60adb4c9388816d8b8eb17b2e844de8d1e0dc081 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 31 Jan 2023 13:31:37 +0100 Subject: Revert "Revert "..."" This reverts commit 1e82933a01dcc3810d635567dbef0de286c1e8f2. --- hosts/surtr/http/default.nix | 2 +- hosts/surtr/http/webdav/default.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'hosts/surtr/http') 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 @@ config = { services.nginx = { enable = true; - # package = pkgs.nginxQuic; + package = pkgs.nginxQuic; recommendedGzipSettings = true; recommendedProxySettings = true; 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 { virtualHosts."webdav.141.li" = { forceSSL = true; + kTLS = true; + http3 = true; sslCertificate = "/run/credentials/nginx.service/webdav.141.li.pem"; sslCertificateKey = "/run/credentials/nginx.service/webdav.141.li.key.pem"; sslTrustedCertificate = "/run/credentials/nginx.service/webdav.141.li.chain.pem"; -- cgit v1.2.3