Skip to content

Commit

Permalink
nginx: disable http3 to prevent wordpress error
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsga authored and quitte committed Apr 9, 2024
1 parent 31901dd commit 8606e89
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/core/nginx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@
({ 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';
'';
})
);
Expand All @@ -26,7 +22,6 @@
networking.firewall.allowedUDPPorts = [ 443 ];
services.nginx = {
enable = true;
package = pkgs.nginxQuic;
additionalModules = [ pkgs.nginxModules.pam ];
recommendedProxySettings = true;
recommendedGzipSettings = true;
Expand Down

0 comments on commit 8606e89

Please sign in to comment.