Added proxy_read_timeout to prevent web socket disconnect after 2 min.
This commit is contained in:
parent
2600a5854c
commit
0c9cbab30d
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ server {
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
proxy_pass http://localhost:6042;
|
proxy_pass http://localhost:6042;
|
||||||
|
proxy_read_timeout 86400;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
Loading…
Reference in a new issue