From ef873f4c75703c834695e6a5867302844bd90416 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 28 Jan 2023 20:25:21 +0100 Subject: [PATCH] Add NGINX instructions for websockets --- conf/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5b8e8e1..86e588b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,6 +9,8 @@ location __PATH__/ { proxy_set_header Host $host:$server_port; #this redirects the link without port no proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; proxy_max_temp_file_size 0; proxy_connect_timeout 90;