From ccefd62a9eed80ace4c132764207439cd17ac057 Mon Sep 17 00:00:00 2001 From: 15128022404 <1421485150@qq.com> Date: Sun, 27 Feb 2022 15:00:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- Dockerfile | 6 +++--- vue.config.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index e184329..b190b13 100644 --- a/.env.development +++ b/.env.development @@ -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 \ No newline at end of file diff --git a/.env.production b/.env.production index 896bc75..6c6e298 100644 --- a/.env.production +++ b/.env.production @@ -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 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 13b8769..832a98a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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; \ diff --git a/vue.config.js b/vue.config.js index 076478e..4c27842 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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,