X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsimulator-group%2Fcontrol_panel%2Fnginx.conf;h=1672ad025b0c8f2dc9b35c5f94e5119dcd03460f;hb=968b89731a192c2ee3f3393d00519879ad89ce56;hp=0014ffb03a2c5c20a384e5e722254de4a206b4d6;hpb=edea18a8fda2e2201cb3ede7f7af13f610bf4acc;p=nonrtric.git diff --git a/test/simulator-group/control_panel/nginx.conf b/test/simulator-group/control_panel/nginx.conf index 0014ffb0..1672ad02 100644 --- a/test/simulator-group/control_panel/nginx.conf +++ b/test/simulator-group/control_panel/nginx.conf @@ -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_ECS_PREFIX} { set $upstream ${NGW_DOMAIN_NAME}; proxy_pass http://$upstream:${NRT_GATEWAY_EXTERNAL_PORT}; } - location /ei-producer/{ + location ${CONTROL_PANEL_PATH_ECS_PREFIX2} { set $upstream ${NGW_DOMAIN_NAME}; proxy_pass http://$upstream:${NRT_GATEWAY_EXTERNAL_PORT}; }