This commit is contained in:
zino
2023-12-09 20:16:30 +01:00
parent 243eda8d3b
commit 75dd2ef31f

View File

@@ -28,12 +28,12 @@ server {
#try_files $uri $uri/ /index.php?$args;
autoindex on;
#proxy_set_header Host $http_host;
#proxy_set_header X-Forwarded-Host $host:$server_port;
#proxy_set_header X-Forwarded-Server $host;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-Forwarded-Proto $scheme;
#proxy_pass http://$upstream;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://$upstream;
}
# location ~ [^/]\.php(/|$) {