mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
proxy set timeout
This commit is contained in:
parent
4a835de860
commit
e637598f8c
1 changed files with 5 additions and 0 deletions
|
@ -28,6 +28,11 @@ location ~ ^PATHTOCHANGE/ws/ {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
|
||||||
|
# To avoid disconnecting after 60sec :
|
||||||
|
proxy_read_timeout 14400s;
|
||||||
|
proxy_send_timeout 14400s;
|
||||||
|
# (14400s is 4h)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue