Nginx: forward host and ip

This commit is contained in:
Yohan Boniface 2019-03-24 16:55:20 +01:00
parent e69bc23c15
commit 3c46100dbc

View file

@ -6,4 +6,6 @@ location /static/ {
location / { location / {
proxy_pass http://copanier/; proxy_pass http://copanier/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
} }