mirror of
https://github.com/YunoHost-Apps/wetty_ynh.git
synced 2024-09-03 18:16:29 +02:00
Update nginx.conf
This commit is contained in:
parent
1270676053
commit
de547641d6
1 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,8 @@ location __PATH__/ {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
# proxy_read_timeout 43200000; # TODO why doesn't this work ? new feature of nginx ?
|
# TODO why doesn't this work ? new feature of nginx ?
|
||||||
|
# proxy_read_timeout 43200000;
|
||||||
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
Loading…
Reference in a new issue