Compare commits

..

No commits in common. "08893439e7caf040c14f2b98c6ce82369d9afc26" and "ceca1b3798c21852e051779fc5f6e3e4cdd4d74e" have entirely different histories.

3 changed files with 0 additions and 7 deletions

View file

@ -7,14 +7,10 @@
({ name, ... }: { ({ name, ... }: {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
# enable http3 for all hosts
quic = true;
http3 = true;
# split up nginx access logs per vhost # split up nginx access logs per vhost
extraConfig = '' extraConfig = ''
access_log /var/log/nginx/${name}_access.log; access_log /var/log/nginx/${name}_access.log;
error_log /var/log/nginx/${name}_error.log; error_log /var/log/nginx/${name}_error.log;
add_header Alt-Svc 'h3=":443"; ma=86400';
''; '';
}) })
); );
@ -26,7 +22,6 @@
networking.firewall.allowedUDPPorts = [ 443 ]; networking.firewall.allowedUDPPorts = [ 443 ];
services.nginx = { services.nginx = {
enable = true; enable = true;
package = pkgs.nginxQuic;
additionalModules = [ pkgs.nginxModules.pam ]; additionalModules = [ pkgs.nginxModules.pam ];
recommendedProxySettings = true; recommendedProxySettings = true;
recommendedGzipSettings = true; recommendedGzipSettings = true;

View file

@ -43,7 +43,6 @@ in
root = "/srv/web/fsrewsp"; root = "/srv/web/fsrewsp";
extraConfig = '' extraConfig = ''
index index.php index.html; index index.php index.html;
fastcgi_param HTTP_HOST $host;
''; '';
locations = { locations = {

View file

@ -40,7 +40,6 @@ in
root = "/srv/web/nightline"; root = "/srv/web/nightline";
extraConfig = '' extraConfig = ''
index index.php index.html; index index.php index.html;
fastcgi_param HTTP_HOST $host;
''; '';
locations = { locations = {