This commit is contained in:
zino
2023-12-09 20:06:17 +01:00
parent 129b7915aa
commit a739419274

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(/|$) {