6 lines
237 B
Plaintext
Executable File
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; |