fixed websocket forwarding 91/113991/1
authorMichael Dürre <michael.duerre@highstreet-technologies.com>
Fri, 23 Oct 2020 07:30:32 +0000 (09:30 +0200)
committerMichael D�rre <michael.duerre@highstreet-technologies.com>
Fri, 23 Oct 2020 07:36:55 +0000 (07:36 +0000)
fixed forwarding rule for websocket

Issue-ID: SDNC-1395
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Change-Id: Ida2e28662afdfee86269c51c0902df13a55d53ca

Former-commit-id: 7221d61998a0012e473a28ef8529c67e3ed5ecdd

installation/sdnc-web/src/main/resources/http_site.conf
installation/sdnc-web/src/main/resources/https_site.conf

index 53356b4..ea6c33b 100644 (file)
@@ -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;
index da86272..5e61fec 100644 (file)
@@ -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;