diff --git a/.env.test b/.env.test index e031dd0..eeb2fae 100644 --- a/.env.test +++ b/.env.test @@ -1,8 +1,8 @@ # port -VITE_DEV_PORT = '27110' +VITE_DEV_PORT = '27009' # production path -VITE_BASE_URL = 'http://dev.ccwin-in.com:27110' +VITE_BASE_URL = 'http://dev.ccwin-in.com:27009' # 租户开关 VITE_APP_TENANT_ENABLE=false \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 8ae288f..e2c08f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # 设置基础镜像 FROM nginx:WIN-1.25.3 -WORKDIR /opt/zhucheng +WORKDIR /opt/zhucheng-go-view COPY nginx.conf /usr/local/nginx/conf/nginx.conf # 将dist文件中的内容复制到 /opt/zhucheng-go-view 这个目录下面 COPY dist/ /opt/zhucheng-go-view diff --git a/nginx.conf b/nginx.conf index cfd7ef6..5048aea 100644 --- a/nginx.conf +++ b/nginx.conf @@ -27,7 +27,7 @@ http { gzip_vary on; gzip_disable "MSIE [1-6]\."; server { - listen 27101; + listen 27001; server_name_in_redirect off; server_name dev.ccwin-in.com; location / {