Fix wo site cd & use proxy_params

This commit is contained in:
VirtuBox
2019-12-06 10:15:49 +01:00
parent a1cf706f9f
commit d536f57cd9
2 changed files with 6 additions and 3 deletions

View File

@@ -21,9 +21,7 @@ server {
location / {
proxy_pass http://{{host}}:{{port}};
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
include proxy_params;
}
# Security settings for better privacy