1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

upgrade nginx conf to remove "Host check error"

This commit is contained in:
Lahire Biette 2016-11-03 12:31:21 +01:00 committed by GitHub
parent 82fed0c6ac
commit 6ffaeaa97a

View file

@ -1,5 +1,6 @@
location PATHTOCHANGE/ {
proxy_set_header Host $host;
#proxy_set_header Host $host;
proxy_set_header Host localhost;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;