Browse Source

修改dockerfile配置和logo

zq940222 2 months ago
parent
commit
2c8ed8163b
3 changed files with 3 additions and 3 deletions
  1. 1 1
      Dockerfile
  2. 1 1
      config/prod.env.js
  3. 1 1
      docker/conf/nginx/conf.d/wkcrm.conf

+ 1 - 1
Dockerfile

@@ -1,5 +1,5 @@
 FROM docker.m.daocloud.io/library/nginx:1.19
 
 COPY ./dist /usr/share/nginx/html
-#COPY ./docker/conf/nginx/conf.d/wkcrm.conf /etc/nginx/conf.d/wkcrm.conf
+COPY ./docker/conf/nginx/conf.d/wkcrm.conf /etc/nginx/conf.d/wkcrm.conf
 CMD ["nginx","-g","daemon off;"]

+ 1 - 1
config/prod.env.js

@@ -1,5 +1,5 @@
 'use strict'
 module.exports = {
   NODE_ENV: '"production"',
-  BASE_API: '"http://127.0.0.1:8443"',
+  BASE_API: '',
 }

+ 1 - 1
docker/conf/nginx/conf.d/wkcrm.conf

@@ -10,7 +10,7 @@ server {
     location /api/ {
             proxy_set_header Upgrade $http_upgrade;
             proxy_set_header Connection $connection_upgrade;
-            proxy_pass   http://47.103.60.8:8443;
+            proxy_pass   http://localhost:8443;
     }
 }