X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fnginx.conf;h=3da60039836df89b63e59db04b8392c31ba2718c;hb=f50789acdbc746d313db2c2c043de85be315bf4b;hp=4700d8502230b245b391f7fdc2223d59a3a7d1fe;hpb=9872b8b01da34a6677844ebd56352c9d8c3ec09b;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/nginx.conf b/webapp-frontend/nginx.conf index 4700d85..3da6003 100644 --- a/webapp-frontend/nginx.conf +++ b/webapp-frontend/nginx.conf @@ -4,17 +4,22 @@ http { include /etc/nginx/mime.types; upstream backend { - # to be replaced with hostname:port of nonrtric-gateway once it gets ready - server nonrtricgateway:8080; + server nonrtric-gateway:9090; } server { - listen 7070; + listen 8080; server_name localhost; root /usr/share/nginx/html; index index.html; - location /api/ { + location /a1-policy/ { proxy_pass http://backend; } + location /ei-producer/ { + proxy_pass http://backend; + } + location / { + try_files $uri $uri/ /index.html; + } } } \ No newline at end of file