X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fsdnc-web%2Fsrc%2Fmain%2Fresources%2Fhttps_site.conf;h=5dc4cfba60dd2c4e2b8b48602758bb05956aafad;hb=777395dad47d25403317639684f3591f844dc57b;hp=49afa079622d43e8d7e55cd2c858fb6500e7865f;hpb=5fc9ef84ef1261b098ec70b8ef401edf9c27e0ee;p=sdnc%2Foam.git diff --git a/installation/sdnc-web/src/main/resources/https_site.conf b/installation/sdnc-web/src/main/resources/https_site.conf index 49afa079..5dc4cfba 100644 --- a/installation/sdnc-web/src/main/resources/https_site.conf +++ b/installation/sdnc-web/src/main/resources/https_site.conf @@ -68,8 +68,6 @@ server { server_name _; - set $sdnrserver "SDNRHOST"; - location ~ ^/$ { return 301 /odlux/index.html; } @@ -80,15 +78,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; } }