master
15128022404 3 years ago
parent 4926c55755
commit ccefd62a9e

@ -1,6 +1,6 @@
NODE_ENV=development
#VUE_APP_API_BASE_URL=https://enfi.guest.dink.xyz/enfi-visitor
#VUE_APP_API_BASE_URL=https://openapi.enfi.com.cn:52601/enfi-visitor
VUE_APP_API_BASE_URL=http://172.28.17.88:52601/enfi-visitor
VUE_APP_API_BASE_URL=http://192.168.49.131:31307/enfi-visitor
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

@ -1,5 +1,5 @@
NODE_ENV=production
#VUE_APP_API_BASE_URL=https://enfi.guest.dink.xyz/enfi-visitor
VUE_APP_API_BASE_URL=https://openapi.enfi.com.cn:52601/enfi-visitor
VUE_APP_API_BASE_URL=http://192.168.49.131:31307/enfi-visitor
VUE_APP_CAS_BASE_URL=http://localhost:8888/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

@ -1,11 +1,11 @@
FROM nginx
MAINTAINER jeecgos@163.com
MAINTAINER helloworldwh@163.com
VOLUME /tmp
ENV LANG en_US.UTF-8
RUN echo "server { \
listen 80; \
location ^~ /jeecg-boot { \
proxy_pass http://jeecg-boot-system:8080/jeecg-boot/; \
location ^~ /enfi-visitor { \
proxy_pass http://enfi-boot.wang-project:52601/enfi-visitor/; \
proxy_set_header Host jeecg-boot-system; \
proxy_set_header X-Real-IP \$remote_addr; \
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \

@ -94,7 +94,7 @@ module.exports = {
// },
'/enfi-visitor': {
//target: 'https://10.10.2.37:52601',
target: 'http://172.28.17.88:52601', // 请求本地 需要jeecg-boot后台项目
target: 'http://192.168.49.131:31307', // 请求本地 需要jeecg-boot后台项目
// target: 'https://enfi.guest.dink.xyz', // 请求本地 需要jeecg-boot后台项目
ws: false,
changeOrigin: true,

Loading…
Cancel
Save