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=fbf997335b6cca38872e855ca168f20b18b286f5;hp=11ba7288e265107f883bf6a39b7cb485e395f966;hpb=b565c3dc19ab4658db2c86fe2bd6d24072b72944;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 11ba7288..5dc4cfba 100644 --- a/installation/sdnc-web/src/main/resources/https_site.conf +++ b/installation/sdnc-web/src/main/resources/https_site.conf @@ -68,21 +68,23 @@ server { server_name _; - set $sdnrserver "SDNRHOST"; - + location ~ ^/$ { + return 301 /odlux/index.html; + } + location ~ /help/$ { + try_files /help/$args.json $uri; + } location / { 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; } }