diff options
author | vikaskumar <vkumar@aarnanetworks.com> | 2020-11-26 13:11:45 +0530 |
---|---|---|
committer | vikaskumar <vkumar@aarnanetworks.com> | 2020-11-27 12:46:26 +0530 |
commit | e7f3bf3050608edec03aa9d52cf8de79d56dfbd9 (patch) | |
tree | e95a91ade123f2724ff2283fef989976cf074eb0 /src/tools/emcoui/default.conf | |
parent | 7e06fbaa3d1293ca9b25aeb7ea7cb7be2179e30a (diff) |
MULTICLOUD-1257 updated gui flow
Issue-ID: MULTICLOUD-1257
Change-Id: I5c1432c037952abeed6066cb067192076031f9cd
Signed-off-by: vikaskumar <vkumar@aarnanetworks.com>
Diffstat (limited to 'src/tools/emcoui/default.conf')
-rw-r--r-- | src/tools/emcoui/default.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/tools/emcoui/default.conf b/src/tools/emcoui/default.conf new file mode 100644 index 00000000..4387a613 --- /dev/null +++ b/src/tools/emcoui/default.conf @@ -0,0 +1,34 @@ +server { + listen 9080; + server_name localhost; + location / { + root /usr/share/nginx/html; + index index.html; + try_files $uri $uri/ /index.html; + } + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } + + location /middleend { + proxy_pass http://middleend.onap4k8s.svc.cluster.local:9081; + } + location /v2/controllers { + proxy_pass http://orchestrator.onap4k8s.svc.cluster.local:9015; + } + location /v2/projects { + proxy_pass http://orchestrator.onap4k8s.svc.cluster.local:9015; + } + location /v2/cluster-providers { + proxy_pass http://clm.onap4k8s.svc.cluster.local:9061; + } + location /v2/ovnaction { + rewrite ^/v2/ovnaction/(.*) /v2/projects/$1 break; + proxy_pass http://ovnaction.onap4k8s.svc.cluster.local:9051; + } + location /v2/ncm { + rewrite ^/v2/ncm/(.*) /v2/cluster-providers/$1 break; + proxy_pass http://ncm.onap4k8s.svc.cluster.local:9031; + } +} |