@@ -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;"]
'use strict'
module.exports = {
NODE_ENV: '"production"',
- BASE_API: '"http://127.0.0.1:8443"',
+ BASE_API: '',
}
@@ -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;