Code Review
/
sdnc
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fixed websocket forwarding
[sdnc/oam.git]
/
installation
/
sdnc-web
/
src
/
main
/
resources
/
https_site.conf
diff --git
a/installation/sdnc-web/src/main/resources/https_site.conf
b/installation/sdnc-web/src/main/resources/https_site.conf
index
d2d6ecd
..
5e61fec
100644
(file)
--- a/
installation/sdnc-web/src/main/resources/https_site.conf
+++ b/
installation/sdnc-web/src/main/resources/https_site.conf
@@
-83,7
+83,7
@@
server {
proxy_pass TOPOURL;
}
location ~ ^/tiles/ {
proxy_pass TOPOURL;
}
location ~ ^/tiles/ {
- resolver
1.1.1.1
;
+ resolver
DNS_RESOLVER
;
if ($request_uri ~* "/tiles/(.*)") {
proxy_pass TILEURL/$1;
}
if ($request_uri ~* "/tiles/(.*)") {
proxy_pass TILEURL/$1;
}
@@
-91,11
+91,11
@@
server {
location / {
try_files $uri $uri/ @backend;
}
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_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;
}
location @backend {
proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT;