Change of ECS to ICS in test env
[nonrtric.git] / test / simulator-group / control_panel / nginx.conf
index 0014ffb..5f8ae57 100644 (file)
@@ -18,17 +18,23 @@ events{}
 
 http {
     include /etc/nginx/mime.types;
-    resolver 127.0.0.11;
+
+    resolver ${CP_NGINX_RESOLVER};
+
     server {
         listen 8080;
         server_name localhost;
         root /usr/share/nginx/html;
         index index.html;
-        location /a1-policy/ {
+        location ${CONTROL_PANEL_PATH_POLICY_PREFIX} {
+            set $upstream ${NGW_DOMAIN_NAME};
+            proxy_pass http://$upstream:${NRT_GATEWAY_EXTERNAL_PORT};
+        }
+        location ${CONTROL_PANEL_PATH_ICS_PREFIX} {
             set $upstream ${NGW_DOMAIN_NAME};
             proxy_pass http://$upstream:${NRT_GATEWAY_EXTERNAL_PORT};
         }
-        location /ei-producer/{
+        location ${CONTROL_PANEL_PATH_ICS_PREFIX2} {
             set $upstream ${NGW_DOMAIN_NAME};
             proxy_pass http://$upstream:${NRT_GATEWAY_EXTERNAL_PORT};
         }