From 21234de82aac458874b50fb0a9dc81866cbcb20f Mon Sep 17 00:00:00 2001 From: Jagankumar <53823168+jagankumar-egov@users.noreply.github.com> Date: Tue, 16 Jul 2024 18:49:56 +0530 Subject: [PATCH] fixed the app name issue --- micro-ui/web/packages/ui/docker/Dockerfile | 2 +- micro-ui/web/packages/ui/docker/nginx.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/micro-ui/web/packages/ui/docker/Dockerfile b/micro-ui/web/packages/ui/docker/Dockerfile index 9fb65ec5b5e..0825ba02c21 100644 --- a/micro-ui/web/packages/ui/docker/Dockerfile +++ b/micro-ui/web/packages/ui/docker/Dockerfile @@ -38,7 +38,7 @@ RUN yarn build FROM nginx:mainline-alpine -ENV WORK_DIR=/var/web/ui-core-mfe +ENV WORK_DIR=/var/web/ui RUN mkdir -p ${WORK_DIR} diff --git a/micro-ui/web/packages/ui/docker/nginx.conf b/micro-ui/web/packages/ui/docker/nginx.conf index ab0d10f7905..25a70a83990 100644 --- a/micro-ui/web/packages/ui/docker/nginx.conf +++ b/micro-ui/web/packages/ui/docker/nginx.conf @@ -3,10 +3,10 @@ server listen 80; underscores_in_headers on; - location /ui-core-mfe + location /ui { root /var/web; index index.html index.htm; - try_files $uri $uri/ /ui-core-mfe/index.html; + try_files $uri $uri/ /ui/index.html; } } \ No newline at end of file