aboutsummaryrefslogtreecommitdiffstats
path: root/installation/sdnc-web/src/main/resources/https_site.conf
diff options
context:
space:
mode:
Diffstat (limited to 'installation/sdnc-web/src/main/resources/https_site.conf')
-rw-r--r--installation/sdnc-web/src/main/resources/https_site.conf34
1 files changed, 2 insertions, 32 deletions
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;
+
}