From 05b8701c0d0f4ebc937ecdbff1561c9e83148e3d Mon Sep 17 00:00:00 2001 From: Lathish Date: Mon, 15 Feb 2021 16:39:55 +0000 Subject: [PATCH] BugFix - Enable Controlpanel to start even when gateway is Unavailable Issue-ID: NONRTRIC-367 Change-Id: Ib558d359ff3bed65d796a2d801ebebf6bcc2ae7b Signed-off-by: Lathish --- webapp-frontend/nginx.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webapp-frontend/nginx.conf b/webapp-frontend/nginx.conf index 10f4582..2414bde 100644 --- a/webapp-frontend/nginx.conf +++ b/webapp-frontend/nginx.conf @@ -2,19 +2,19 @@ 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 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; -- 2.16.6