Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / installation / sdnc-web / src / main / resources / location.rules
1 location ~ ^/$  {
2     return 301 " /odlux/index.html";
3 }
4 location ~ ^/help/$  {
5     try_files /help/$args.json $uri;
6 }
7 location ~ ^/transportpce  {
8     resolver DNS_INTERNAL_RESOLVER;
9     if ($request_uri ~* "/transportpce/(.*)") { 
10         proxy_pass TRPCEURL/$1;
11     }
12 }
13 location ~ ^/tiles/  {
14     resolver DNS_RESOLVER;
15     if ($request_uri ~* "/tiles/(.*)") { 
16         proxy_pass TILEURL/$1;
17     }
18 }
19 location /  {
20     try_files $uri $uri/ @backend;
21 }
22 location /websocket {
23     proxy_pass http://SDNRHOST:SDNRWEBSOCKETPORT/websocket;
24     proxy_http_version 1.1;
25     proxy_set_header Upgrade $http_upgrade;
26     proxy_set_header Connection "upgrade";
27 }
28 location @backend {
29     proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT;
30 }