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:
parent
556b23bbe3
commit
d22a095281
1 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue