X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsimulator-group%2Fcontrol_panel%2Fnginx.conf;h=5f8ae575ceca1df086f7270ef50f11b1ede4cce5;hb=931e03479a552777755d805972428f8691c5dc1c;hp=0014ffb03a2c5c20a384e5e722254de4a206b4d6;hpb=be9a07faf8fbc1030404bbc71f409eb5e19736ba;p=nonrtric.git diff --git a/test/simulator-group/control_panel/nginx.conf b/test/simulator-group/control_panel/nginx.conf index 0014ffb0..5f8ae575 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_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}; }