1
0
Fork 0
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:
Salamandar 2021-02-07 11:24:35 +01:00 committed by Félix Piédallu
parent 1270676053
commit de547641d6

View file

@ -14,7 +14,8 @@ location __PATH__/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_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-Forwarded-For $proxy_add_x_forwarded_for;