do not drop websocket connections

This commit is contained in:
Sebastian
2024-11-09 05:06:45 +01:00
parent 94c443dbac
commit fb0665c141

View File

@@ -26,8 +26,8 @@ server {
# Disable buffering for real-time traffic # Disable buffering for real-time traffic
proxy_buffering off; proxy_buffering off;
set $proxy_read_timeout 3600s; #set $proxy_read_timeout 3600s;
set $proxy_send_timeout 3600s; #set $proxy_send_timeout 3600s;
# If it's a websocket, change timeouts # If it's a websocket, change timeouts
#if ($is_websocket) { #if ($is_websocket) {
@@ -35,8 +35,8 @@ server {
# set $proxy_send_timeout 3600s; # set $proxy_send_timeout 3600s;
#} #}
proxy_read_timeout $proxy_read_timeout; proxy_read_timeout 3600s;
proxy_send_timeout $proxy_send_timeout; proxy_send_timeout 3600s;
} }
} }