nginx: fix the http3 wordpress fix

This commit is contained in:
Rouven Seifert 2024-04-16 20:51:16 +02:00
parent 6cd1ba6aa5
commit 375674b1b4
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,6 @@ in
root = "/srv/web/fsrewsp";
extraConfig = ''
index index.php index.html;
fastcgi_param HTTP_HOST $host;
'';
locations = {
@ -59,6 +58,7 @@ in
include ${pkgs.nginx}/conf/fastcgi_params;
include ${pkgs.nginx}/conf/fastcgi.conf;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
fastcgi_param HTTP_HOST $host;
'';
};
"~ \.log$".return = "403";

View file

@ -40,7 +40,6 @@ in
root = "/srv/web/nightline";
extraConfig = ''
index index.php index.html;
fastcgi_param HTTP_HOST $host;
'';
locations = {
@ -56,6 +55,7 @@ in
include ${pkgs.nginx}/conf/fastcgi_params;
include ${pkgs.nginx}/conf/fastcgi.conf;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
fastcgi_param HTTP_HOST $host;
'';
};
"~ \.log$".return = "403";