summaryrefslogtreecommitdiff
path: root/configs/nginx/loc-websocket.conf
diff options
context:
space:
mode:
Diffstat (limited to 'configs/nginx/loc-websocket.conf')
-rw-r--r--configs/nginx/loc-websocket.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/nginx/loc-websocket.conf b/configs/nginx/loc-websocket.conf
new file mode 100644
index 00000000..f987a58f
--- /dev/null
+++ b/configs/nginx/loc-websocket.conf
@@ -0,0 +1,5 @@
+proxy_set_header Upgrade $http_upgrade;
+proxy_set_header Connection "upgrade";
+proxy_connect_timeout 7d;
+proxy_send_timeout 7d;
+proxy_read_timeout 7d;