X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fcontrolpanel%2Fresources-ing%2Fnginx.conf;fp=nonrtric%2Fhelm%2Fcontrolpanel%2Fresources-ing%2Fnginx.conf;h=d72eea73a2445b9ce22980889a672902c7d0a331;hb=326fd8c271cde82ade05d81b77859a002eecd33b;hp=0000000000000000000000000000000000000000;hpb=979de8747c7fb63438a350fb5631494bc87b485b;p=it%2Fdep.git diff --git a/nonrtric/helm/controlpanel/resources-ing/nginx.conf b/nonrtric/helm/controlpanel/resources-ing/nginx.conf new file mode 100644 index 00000000..d72eea73 --- /dev/null +++ b/nonrtric/helm/controlpanel/resources-ing/nginx.conf @@ -0,0 +1,28 @@ +events{} + +http { + include /etc/nginx/mime.types; + + upstream backend { + server kong-proxy.kong:80; + } + + 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; + } + } +} \ No newline at end of file