diff options
author | Michael Dürre <michael.duerre@highstreet-technologies.com> | 2020-10-23 09:30:32 +0200 |
---|---|---|
committer | Michael Dürre <michael.duerre@highstreet-technologies.com> | 2020-10-23 09:31:18 +0200 |
commit | 7a6c197bd0a2543ce21ab851767006963e835cd3 (patch) | |
tree | dd2995a84eacd77e0c364b92c65b1b5d73b67ee9 /installation/sdnc-web/src/main | |
parent | f7c28fb3379a4a0dc11d529c7e73d414d45d94dc (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: bcb12ca4fd5c6df770f96a0ac76170b6a4f2281f
Diffstat (limited to 'installation/sdnc-web/src/main')
-rw-r--r-- | installation/sdnc-web/src/main/resources/http_site.conf | 4 | ||||
-rw-r--r-- | 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; |