From a268e304e8097842008a2ee38a0d445f08a5b0a7 Mon Sep 17 00:00:00 2001 From: fanxb Date: Thu, 24 Feb 2022 15:20:09 +0800 Subject: [PATCH] =?UTF-8?q?deploy:=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/nginx.conf | 20 ++++++++--------- qiezi_front/public/index.html | 2 +- .../indexResource/qieziStatistic_v1.min.js | 2 ++ qiezi_front/src/App.vue | 22 +++++++++++++++++++ qiezi_front/src/views/ApplicationSign.vue | 2 -- qiezi_front/vue.config.js | 3 +++ 6 files changed, 38 insertions(+), 13 deletions(-) create mode 100644 qiezi_front/public/indexResource/qieziStatistic_v1.min.js diff --git a/config/nginx.conf b/config/nginx.conf index 3f7097f..bf14ccb 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -30,23 +30,23 @@ http { index index.html; root /opt/dist/; server_name _; - location /bookmark/api/ { + + location /qiezi/api/ { proxy_pass http://backend:8088; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; client_max_body_size 100m; } - location /files/public/{ - root /opt; - } - - location / { - root /opt/dist; - index index.html; - try_files $uri $uri/ /index.html; - } + location /{ + root /opt/dist/indexResource; + } + location /manage { + root /opt/dist; + index index.html; + try_files $uri $uri/ /index.html; + } } } diff --git a/qiezi_front/public/index.html b/qiezi_front/public/index.html index f3a1a9f..9777199 100644 --- a/qiezi_front/public/index.html +++ b/qiezi_front/public/index.html @@ -17,6 +17,6 @@
- + diff --git a/qiezi_front/public/indexResource/qieziStatistic_v1.min.js b/qiezi_front/public/indexResource/qieziStatistic_v1.min.js new file mode 100644 index 0000000..71a368f --- /dev/null +++ b/qiezi_front/public/indexResource/qieziStatistic_v1.min.js @@ -0,0 +1,2 @@ +eval(function(e,f,a,d,c,g){c=function(b){return(b + + + +