Files
ansible-role-nginx/files/snippets/websockets.conf
T
2026-06-24 17:29:12 -04:00

6 lines
237 B
Plaintext
Executable File

# /etc/nginx/snippets/websockets.conf
# enable websockets: http://nginx.org/en/docs/http/websocket.html
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_redirect off;