From 621460f4e3571f000f6f4f2e41a5bd179e42fcf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:59:04 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 175c2ba..1938702 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,9 +3,10 @@ location __PATH__/ { proxy_pass https://127.0.0.1:__PORT__/; - #Proxy Settings proxy_http_version 1.1; proxy_redirect off; + proxy_set_header Connection "Upgrade"; + proxy_set_header Upgrade $http_upgrade; 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;