This commit is contained in:
zino
2023-12-09 20:30:07 +01:00
parent 45e2bd87f3
commit 106a7e5f5b

View File

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