Fixes for control panel config in test env
Issue-ID: NONRTRIC-513
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: Ie2ee82fcb36b4a605ebae22e64239fe3863e2e22
diff --git a/test/simulator-group/control_panel/nginx.conf b/test/simulator-group/control_panel/nginx.conf
index 5b1e895..0a15a48 100644
--- a/test/simulator-group/control_panel/nginx.conf
+++ b/test/simulator-group/control_panel/nginx.conf
@@ -26,11 +26,11 @@
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};
}