From d997cf31064d4b62959d4c6884fd8c966513123a Mon Sep 17 00:00:00 2001 From: quitte Date: Mon, 20 Jan 2025 11:20:21 +0100 Subject: [PATCH] Revert "nginx: disable http/3" This reverts commit d2e06a075ee5ed5deabe96ce6cf261e6f3242211. --- modules/core/nginx.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/core/nginx.nix b/modules/core/nginx.nix index 874a122..36e596e 100644 --- a/modules/core/nginx.nix +++ b/modules/core/nginx.nix @@ -7,10 +7,14 @@ ({ name, ... }: { enableACME = true; forceSSL = true; + # enable http3 for all hosts + quic = true; + http3 = true; # split up nginx access logs per vhost extraConfig = '' access_log /var/log/nginx/${name}_access.log; error_log /var/log/nginx/${name}_error.log; + add_header Alt-Svc 'h3=":443"; ma=86400'; ''; }) );