X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docker-compose%2Ficsversion%2Fconfig%2Fcontrol-panel%2Fnginx.conf;fp=docker-compose%2Ficsversion%2Fconfig%2Fcontrol-panel%2Fnginx.conf;h=3416fd4ebae7d6db4afceacb3e4f098c05d12249;hb=e3980260a770b66eae1744fba59ab574adb07dcd;hp=0000000000000000000000000000000000000000;hpb=7749724e74312a7aae07f32f4185c896fb1d6559;p=nonrtric%2Frapp%2Fransliceassurance.git diff --git a/docker-compose/icsversion/config/control-panel/nginx.conf b/docker-compose/icsversion/config/control-panel/nginx.conf new file mode 100644 index 0000000..3416fd4 --- /dev/null +++ b/docker-compose/icsversion/config/control-panel/nginx.conf @@ -0,0 +1,27 @@ +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 nonrtric-gateway; + proxy_pass http://$upstream:9090; + } + 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; + } + } +}