Browse Source

修改端口号

master
liuchen 9 months ago
parent
commit
b2c8510ce9
  1. 4
      .env.test
  2. 2
      Dockerfile
  3. 2
      nginx.conf

4
.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

2
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

2
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 / {

Loading…
Cancel
Save