X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fsdnc-web%2Fsrc%2Fmain%2Fresources%2Flocation.rules;fp=installation%2Fsdnc-web%2Fsrc%2Fmain%2Fresources%2Flocation.rules;h=8f1f527f48c984a6cb27cc0f24831162d1163edd;hb=35bc08cfc2792d1fa1ce5d4cf8cf940251163711;hp=83120d60061b1eaa5914bd869f1fa6e6c28ae7b2;hpb=a4a4c3111e505ea6026542737125497a69521fa8;p=sdnc%2Foam.git diff --git a/installation/sdnc-web/src/main/resources/location.rules b/installation/sdnc-web/src/main/resources/location.rules index 83120d60..8f1f527f 100644 --- a/installation/sdnc-web/src/main/resources/location.rules +++ b/installation/sdnc-web/src/main/resources/location.rules @@ -10,33 +10,17 @@ location ~ ^/transportpce { proxy_pass TRPCEURL/$1; } } -location ~ ^/topology/ { - resolver DNS_INTERNAL_RESOLVER; - proxy_pass TOPOURL; -} -location ~ ^/sitedoc/ { - resolver DNS_INTERNAL_RESOLVER; - if ($request_uri ~* "/sitedoc/(.*)") { - proxy_pass SITEDOCURL/topology/stadok/$1; - } -} location ~ ^/tiles/ { resolver DNS_RESOLVER; if ($request_uri ~* "/tiles/(.*)") { proxy_pass TILEURL/$1; } } -location ~ ^/terrain/ { - resolver DNS_INTERNAL_RESOLVER; - if ($request_uri ~* "/terrain/(.*)") { - proxy_pass TERRAINURL/$1; - } -} location / { try_files $uri $uri/ @backend; } location /websocket { - proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT/websocket; + proxy_pass http://SDNRHOST:SDNRWEBSOCKETPORT/websocket; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";