X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fsdnc-web%2Fsrc%2Fmain%2Fresources%2Fhttps_site.conf;h=6dcfb79031587fe26e630d9b2d46f8f8a82ad6d1;hb=38509f1fbad27de70eef1e81eaa2c5084765ca8f;hp=5e61fece8203c1cd618ed7969afc2d85cfd4b46d;hpb=bcdddcc342180eb1aa5cf8a9f1b4b84990d5f87d;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 5e61fece..6dcfb790 100644 --- a/installation/sdnc-web/src/main/resources/https_site.conf +++ b/installation/sdnc-web/src/main/resources/https_site.conf @@ -68,36 +68,6 @@ server { server_name _; - location ~ ^/$ { - return 301 /odlux/index.html; - } - location ~ ^/help/$ { - try_files /help/$args.json $uri; - } - location ~ ^/transportpce { - if ($request_uri ~* "/transportpce/(.*)") { - proxy_pass TRPCEURL/$1; - } - } - location ~ ^/topology { - proxy_pass TOPOURL; - } - location ~ ^/tiles/ { - resolver DNS_RESOLVER; - if ($request_uri ~* "/tiles/(.*)") { - proxy_pass TILEURL/$1; - } - } - location / { - try_files $uri $uri/ @backend; - } - location /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 { - proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT; - } + include server_blocks/location.rules; + }