aboutsummaryrefslogtreecommitdiff
path: root/template/nginx/websocket.conf
diff options
context:
space:
mode:
Diffstat (limited to 'template/nginx/websocket.conf')
-rw-r--r--template/nginx/websocket.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/nginx/websocket.conf b/template/nginx/websocket.conf
new file mode 100644
index 0000000..ac56b69
--- /dev/null
+++ b/template/nginx/websocket.conf
@@ -0,0 +1,4 @@
+map $http_connection $connection_upgrade {
+ "~*Upgrade" $http_connection;
+ default keep-alive;
+}