aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Dürre <michael.duerre@highstreet-technologies.com>2020-10-23 09:30:32 +0200
committerMichael D�rre <michael.duerre@highstreet-technologies.com>2020-10-23 07:36:55 +0000
commit8cd8bd44a08217d37683b7b2be24fdc447bf2ffd (patch)
tree16c8f56e604e610117ac515fdb473f296080d87a
parentda08ccb4273470b6132484a5a7654a62ba012f46 (diff)
fixed websocket forwarding
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
-rw-r--r--installation/sdnc-web/src/main/resources/http_site.conf4
-rw-r--r--installation/sdnc-web/src/main/resources/https_site.conf4
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;