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:
Lahire Biette 2018-01-13 14:32:01 +01:00 committed by GitHub
parent 556b23bbe3
commit d22a095281
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,15 @@
location PATHTOCHANGE/ {
#proxy_set_header Host $host;
proxy_set_header Host localhost;
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;
proxy_pass http://localhost:PORTTOCHANGE/;
proxy_pass http://127.0.0.1:PORTTOCHANGE/;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';
more_clear_input_headers 'Accept-Encod
}