Files
vitfit-r2/V2/deploy/nginx/nginx-http-snippet.conf
T
2026-06-13 08:03:45 -04:00

9 lines
266 B
Plaintext

# Add this block to the http{} section of your main nginx.conf
# (typically /etc/nginx/nginx.conf), NOT inside vitfit.conf.
# It enables WebSocket upgrade pass-through for socket.io.
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}