m
This commit is contained in:
@@ -28,12 +28,12 @@ server {
|
|||||||
#try_files $uri $uri/ /index.php?$args;
|
#try_files $uri $uri/ /index.php?$args;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
|
|
||||||
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_set_header X-Forwarded-Proto $scheme;
|
#proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://$upstream;
|
#proxy_pass http://$upstream;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
|
|||||||
Reference in New Issue
Block a user