X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fnginx.conf;h=3416fd4ebae7d6db4afceacb3e4f098c05d12249;hb=refs%2Fchanges%2F20%2F6420%2F1;hp=10f458247aba09c5e35be5289fbb0d19c22aa11a;hpb=49a6c6aa1b48fb4d2a7e7fb5b80aead0b281aff5;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/nginx.conf b/webapp-frontend/nginx.conf index 10f4582..3416fd4 100644 --- a/webapp-frontend/nginx.conf +++ b/webapp-frontend/nginx.conf @@ -2,22 +2,26 @@ 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; + location /data-producer/{ + set $upstream nonrtric-gateway; + proxy_pass http://$upstream:9090; + } + location /data-consumer/{ + set $upstream nonrtric-gateway; + proxy_pass http://$upstream:9090; } location / { try_files $uri $uri/ /index.html; } } -} \ No newline at end of file +}