X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=install%2Fhelm%2Fcontrolpanel%2Fresources-ngw%2Fnginx.conf;fp=install%2Fhelm%2Fcontrolpanel%2Fresources-ngw%2Fnginx.conf;h=a0ac5843e7d3cc2c72dc4971bbed27633bc44bbe;hb=54872c9d73ec5dc31dd0ba915cd1e0beb13a3096;hp=0000000000000000000000000000000000000000;hpb=18a22955ab912a29de5c2e62322222a8324cfeaa;p=nonrtric%2Fplt%2Franpm.git diff --git a/install/helm/controlpanel/resources-ngw/nginx.conf b/install/helm/controlpanel/resources-ngw/nginx.conf new file mode 100644 index 0000000..a0ac584 --- /dev/null +++ b/install/helm/controlpanel/resources-ngw/nginx.conf @@ -0,0 +1,28 @@ +events{} + +http { + include /etc/nginx/mime.types; + + upstream backend { + server nonrtricgateway:9090; + } + + server { + listen 8080; + server_name localhost; + root /usr/share/nginx/html; + index index.html; + location /a1-policy/ { + proxy_pass http://backend; + } + location /data-producer/ { + proxy_pass http://backend; + } + location /data-consumer/ { + proxy_pass http://backend; + } + location / { + try_files $uri $uri/ /index.html; + } + } +}