All tags
websockets
- Tip
map $http_upgrade $connection_upgrade {A map on $http_upgrade lets one nginx location serve WebSockets and normal requestsSends Connection upgrade only when the client asks for it, and close otherwise.30 Nov 2026 - Tip
proxy_read_timeout 1h;Nginx closes a quiet WebSocket after 60 secondsKeeps quiet WebSocket connections open longer than the 60 second default.17 Sep 2026
Nothing matches.