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

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-04-05 11:55:51 +02:00
parent 392c6ce30f
commit 802c59bfdb

View file

@ -2,7 +2,7 @@
location __PATH__/ {
proxy_pass http://127.0.0.1:__PORT_GUI__/;
proxy_set_header Host $host;
proxy_set_header Host 127.0.0.1;
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;