X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fnginx.conf;h=2414bde0c62116df14e044b6bb586459e9ceaad3;hb=8ce8fccb49a3c082c9fde5f20335af8e85b41584;hp=10f458247aba09c5e35be5289fbb0d19c22aa11a;hpb=64b35796309259667d0dac6f9cdc2ad00bca53ee;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/nginx.conf b/webapp-frontend/nginx.conf index 10f4582..2414bde 100644 --- a/webapp-frontend/nginx.conf +++ b/webapp-frontend/nginx.conf @@ -2,19 +2,19 @@ events{} http { include /etc/nginx/mime.types; - + resolver 127.0.0.11; server { listen 8080; server_name localhost; root /usr/share/nginx/html; index index.html; location /a1-policy/ { - set $upstream http://nonrtric-gateway:9090; - proxy_pass $upstream; + set $upstream nonrtric-gateway; + proxy_pass http://$upstream:9090; } location /ei-producer/{ - set $upstream http://nonrtric-gateway:9090; - proxy_pass $upstream; + set $upstream nonrtric-gateway; + proxy_pass http://$upstream:9090; } location / { try_files $uri $uri/ /index.html;