Issue-ID: NONRTRIC-367
Change-Id: Ib558d359ff3bed65d796a2d801ebebf6bcc2ae7b
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
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;
+ set $upstream nonrtric-gateway;
+ proxy_pass http://$upstream:9090;
}
location / {
try_files $uri $uri/ /index.html;