Fix error caused by empty env TOPOURL
[sdnc/oam.git] / installation / sdnc-web / src / main / resources / http_site.conf
index 70554ef..53356b4 100644 (file)
@@ -61,12 +61,10 @@ server {
         }
     }
     location ~ ^/topology  {
-        if ($request_uri ~* "/topology/(.*)") { 
-            proxy_pass TOPOURL/$1;
-        }
+        proxy_pass TOPOURL;
     }
     location ~ ^/tiles/  {
-        resolver 1.1.1.1;
+        resolver DNS_RESOLVER;
         if ($request_uri ~* "/tiles/(.*)") { 
             proxy_pass TILEURL/$1;
         }
@@ -84,4 +82,3 @@ server {
         proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT;
     }
 }
-