Fixes for control panel config in test env
[nonrtric.git] / test / simulator-group / control_panel / nginx.conf
index 5b1e895..0a15a48 100644 (file)
@@ -26,11 +26,11 @@ http {
         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 /ei-producer/{
+        location ${CONTROL_PANEL_PATH_ECS_PREFIX} {
             set $upstream ${NGW_DOMAIN_NAME};
             proxy_pass http://$upstream:${NRT_GATEWAY_EXTERNAL_PORT};
         }