X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fsdnc-web%2Fsrc%2Fmain%2Fresources%2Fhttp_site.conf;h=640668a100df7de2ec6a104bb6fe6a4d3d0ada19;hb=777395dad47d25403317639684f3591f844dc57b;hp=dd641418576adddcd0d2166c6d851be81e3ca730;hpb=5fc9ef84ef1261b098ec70b8ef401edf9c27e0ee;p=sdnc%2Foam.git diff --git a/installation/sdnc-web/src/main/resources/http_site.conf b/installation/sdnc-web/src/main/resources/http_site.conf index dd641418..640668a1 100644 --- a/installation/sdnc-web/src/main/resources/http_site.conf +++ b/installation/sdnc-web/src/main/resources/http_site.conf @@ -49,8 +49,6 @@ server { server_name _; - set $sdnrserver "SDNRHOST"; - location ~ ^/$ { return 301 /odlux/index.html; } @@ -61,15 +59,13 @@ server { try_files $uri $uri/ @backend; } location /websocket { - resolver LOCALDNS; - proxy_pass SDNRPROTOCOL://$sdnrserver:SDNRPORT/websocket; + proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT/websocket; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location @backend { - resolver LOCALDNS; - proxy_pass SDNRPROTOCOL://$sdnrserver:SDNRPORT; + proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT; } }