feat(sys):remove rainbond
This commit is contained in:
parent
207c8dc7a4
commit
7da50abae9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
/dist
|
||||
/rainbond
|
||||
|
||||
/tests/e2e/videos/
|
||||
/tests/e2e/screenshots/
|
||||
|
||||
@ -8,10 +8,10 @@
|
||||
"build:docker": "vue-cli-service build --dest=./docker/dist/",
|
||||
"lint": "vue-cli-service lint",
|
||||
"analyze": "vue-cli-service build --report",
|
||||
"build:rainbond": "vue-cli-service build --mode test --dest=./rainbond/dist/ && cd rainbond && (if exist .git rd /s /q .git) && copy web.conf dist && git init && git add . && git commit -m \"@deploy\" && git push -f https://gitee.com/forever_win/mom-ui-html-3peak.git master",
|
||||
"macbuild:rainbond": "vue-cli-service build --mode test --dest=./rainbond/dist/ && cd rainbond && rm -rf .git && cp web.conf dist && git init && git add . && git commit -m \"@deploy\" && git push -f https://gitee.com/forever_win/mom-ui-html-3peak.git master",
|
||||
"build:prd": "vue-cli-service build --mode production --dest=./rainbond/dist/ && cd rainbond && (if exist .git rd /s /q .git) && copy web.conf dist && git init && git add . && git commit -m \"@deploy\" && git push -f https://gitee.com/forever_win/mom-ui-html-prd-3peak.git master",
|
||||
"macbuild:prd": "vue-cli-service build --mode production --dest=./rainbond/dist/ && cd rainbond && rm -rf .git && cp web.conf dist && git init && git add . && git commit -m \"@deploy\" && git push -f https://gitee.com/forever_win/mom-ui-html-prd-3peak.git master"
|
||||
"deploy:qas": "vue-cli-service build --mode test --dest=./rainbond/dist/ && cd rainbond && (if exist .git rd /s /q .git) && copy web.conf dist && git init && git add . && git commit -m \"@deploy\" && git push -f http://10.10.11.66:3000/mes/nvl-ui-html.git master",
|
||||
"macDeploy:qas": "vue-cli-service build --mode test --dest=./rainbond/dist/ && cd rainbond && rm -rf .git && cp web.conf dist && git init && git add . && git commit -m \"@deploy\" && git push -f https://gitee.com/forever_win/mom-ui-html-3peak.git master",
|
||||
"deploy:prd": "vue-cli-service build --mode production --dest=./rainbond/dist/ && cd rainbond && (if exist .git rd /s /q .git) && copy web.conf dist && git init && git add . && git commit -m \"@deploy\" && git push -f https://gitee.com/forever_win/mom-ui-html-prd-3peak.git master",
|
||||
"macDeploy:prd": "vue-cli-service build --mode production --dest=./rainbond/dist/ && cd rainbond && rm -rf .git && cp web.conf dist && git init && git add . && git commit -m \"@deploy\" && git push -f https://gitee.com/forever_win/mom-ui-html-prd-3peak.git master"
|
||||
},
|
||||
"dependencies": {
|
||||
"@chenfengyuan/vue-qrcode": "^1.0.1",
|
||||
|
||||
@ -1,32 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
gzip on;
|
||||
gzip_static on; # 需要http_gzip_static_module 模块
|
||||
gzip_min_length 1k;
|
||||
gzip_comp_level 4;
|
||||
gzip_proxied any;
|
||||
gzip_types text/plain text/xml text/css;
|
||||
gzip_vary on;
|
||||
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
||||
|
||||
root /app/www;
|
||||
|
||||
client_max_body_size 50m;
|
||||
|
||||
# 若新增后端路由前缀注意在此处添加(|新增)
|
||||
location ~* ^/(code|auth|admin|monitor|gen|actuator|job|tx|act|mp|pay|jimu|aj|rpt|mes-core|pms|tooling|anomaly|tap-mom|qms) {
|
||||
proxy_pass http://mom-gateway:9999;
|
||||
proxy_connect_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto http;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
}
|
||||
4
web.conf
4
web.conf
@ -11,10 +11,10 @@ server {
|
||||
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
||||
client_max_body_size "100M"; # 檔案大小限制在100MB
|
||||
|
||||
root /opt/dist;
|
||||
root /app/www;
|
||||
|
||||
# 若新增后端路由前缀注意在此处添加(|新增)
|
||||
location ~* ^/(code|auth|admin|monitor|actuator|gen|job|tx|act|mp|pay|jimu|aj|rpt|iep-app|iep-pms|iep-tms|iep-tap|iep-qms|iep-alm|tqm-lims|iep-oem|iep-tds|iep-wms|iep-flow|iep-dcc|iMES-jxls|nlv-wms) {
|
||||
location ~* ^/(code|auth|admin|monitor|actuator|gen|job|tx|act|mp|pay|jimu|aj|rpt|iep-app|iep-pms|iep-tms|iep-tap|iep-qms|iep-alm|tqm-lims|iep-oem|iep-tds|iep-wms|iep-flow|iep-dcc|iMES-jxls|nlv-wms|nlv-print) {
|
||||
proxy_pass http://mom-gateway:9999;
|
||||
proxy_connect_timeout 15s;
|
||||
proxy_send_timeout 15s;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user