nginx: enable http3 for falkenstein

This commit is contained in:
Rouven Seifert 2023-12-23 17:30:04 +01:00
parent dab85522ba
commit 70123785d6
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -5,6 +5,9 @@
services.nginx.virtualHosts = mkOption {
type = types.attrsOf (types.submodule
({ name, ... }: {
# 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;
@ -71,8 +74,6 @@
recommendedGzipSettings = true;
recommendedOptimisation = true;
virtualHosts."${config.networking.domain}" = {
quic = true;
http3 = true;
enableACME = true;
forceSSL = true;
root = "/srv/web/${config.networking.domain}";