increase proxy timeout to avoid aborting websocket connections

This commit is contained in:
chandi 2020-10-16 12:27:49 +02:00
parent 615e1fcc07
commit 7a177b7166
2 changed files with 10 additions and 0 deletions

View File

@ -24,5 +24,10 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache_bypass $http_upgrade;
proxy_read_timeout 6h;
proxy_send_timeout 6h;
client_body_timeout 6h;
send_timeout 6h;
}
}

View File

@ -24,5 +24,10 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache_bypass $http_upgrade;
proxy_read_timeout 6h;
proxy_send_timeout 6h;
client_body_timeout 6h;
send_timeout 6h;
}
}