diff --git a/.env.prod b/.env.prod index fa9edf1..014d35c 100644 --- a/.env.prod +++ b/.env.prod @@ -1,3 +1,3 @@ NODE_ENV = "prod" -VITE_APP_API_SERVER_URL = "http://cuuva.com:2481/autoflow-server-mgmt" +VITE_APP_API_SERVER_URL = "/autoflow-server-mgmt" VITE_ROOT_PATH = "/autoflow" \ No newline at end of file diff --git a/Dockerfile_queenclient b/Dockerfile_queenclient deleted file mode 100644 index 4fe1aef..0000000 --- a/Dockerfile_queenclient +++ /dev/null @@ -1,9 +0,0 @@ -FROM nginx:stable-alpine - -RUN apk --no-cache add tzdata && cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime - -COPY default.conf /etc/nginx/conf.d/default.conf - -COPY dist/. /usr/share/nginx/html/autoflow -EXPOSE 80 -ENTRYPOINT ["nginx", "-g", "daemon off;"] diff --git a/default.conf b/default.conf index a7bf56b..f5ef5fb 100644 --- a/default.conf +++ b/default.conf @@ -10,7 +10,7 @@ server { # 백엔드 API 프록시 location /autoflow-server-mgmt/ { - proxy_pass http://backend:8080; + proxy_pass http://autoflow-server-mgmt-svc:80; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;