From 8cd8bd44a08217d37683b7b2be24fdc447bf2ffd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20D=C3=BCrre?= Date: Fri, 23 Oct 2020 09:30:32 +0200 Subject: [PATCH] fixed websocket forwarding MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit fixed forwarding rule for websocket Issue-ID: SDNC-1395 Signed-off-by: Michael Dürre Change-Id: Ida2e28662afdfee86269c51c0902df13a55d53ca Former-commit-id: 7221d61998a0012e473a28ef8529c67e3ed5ecdd --- installation/sdnc-web/src/main/resources/http_site.conf | 4 ++-- installation/sdnc-web/src/main/resources/https_site.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installation/sdnc-web/src/main/resources/http_site.conf b/installation/sdnc-web/src/main/resources/http_site.conf index 53356b43..ea6c33be 100644 --- a/installation/sdnc-web/src/main/resources/http_site.conf +++ b/installation/sdnc-web/src/main/resources/http_site.conf @@ -72,11 +72,11 @@ server { location / { try_files $uri $uri/ @backend; } - location ^/websocket$ { + location /websocket { proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT/websocket; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + proxy_set_header Connection "upgrade"; } location @backend { proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT; diff --git a/installation/sdnc-web/src/main/resources/https_site.conf b/installation/sdnc-web/src/main/resources/https_site.conf index da86272d..5e61fece 100644 --- a/installation/sdnc-web/src/main/resources/https_site.conf +++ b/installation/sdnc-web/src/main/resources/https_site.conf @@ -91,11 +91,11 @@ server { location / { try_files $uri $uri/ @backend; } - location ^/websocket$ { + location /websocket { proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT/websocket; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + proxy_set_header Connection "upgrade"; } location @backend { proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT; -- 2.16.6