aboutsummaryrefslogtreecommitdiff
path: root/services/docker/nginx/configs/conf.d/websocket.conf
diff options
context:
space:
mode:
Diffstat (limited to 'services/docker/nginx/configs/conf.d/websocket.conf')
-rw-r--r--services/docker/nginx/configs/conf.d/websocket.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/docker/nginx/configs/conf.d/websocket.conf b/services/docker/nginx/configs/conf.d/websocket.conf
new file mode 100644
index 0000000..32af4c3
--- /dev/null
+++ b/services/docker/nginx/configs/conf.d/websocket.conf
@@ -0,0 +1,4 @@
+map $http_upgrade $connection_upgrade {
+ default upgrade;
+ '' close;
+}