Browse Source

配置更新

dev-V1.10.2-temp
zhuibobo 3 months ago
parent
commit
cea7ae4f1b
  1. 6
      doc/部署说明/部署过程描述.md
  2. 25
      ng/3/nginx.conf
  3. 3
      zdxt-web-server/nacos-server/readme.md

6
doc/部署说明/部署过程描述.md

@ -88,14 +88,14 @@ Nginx 是源码编译安装的,安装在 `/usr/local/nginx/`,可执行文件
* 备份1期库(排除市监表) * 备份1期库(排除市监表)
```bash ```bash
mysqldump -h 10.134.89.36 -P 15144 -u zfjd -p'szsf@zfjd' --default-character-set=utf8mb4 --single-transaction --triggers --events --ignore-table=zfjd_ef20_1.sszt_jbxx110497_new --ignore-table=zfjd_ef20_1.sszt_jbxx110497 zfjd_ef20_1 > /efcode20/dbv2/zfjd_ef20_1_2026_06_20_utf8.sql mysqldump -h 10.134.89.36 -P 15144 -u zfjd -p'szsf@zfjd' --default-character-set=utf8mb4 --single-transaction --triggers --events --ignore-table=zfjd_ef20_1.sszt_jbxx110497_new --ignore-table=zfjd_ef20_1.sszt_jbxx110497 zfjd_ef20_1 > /efcode20/dbv2/zfjd_ef20_1_2026_06_20_utf8.sql
mysqldump -h 10.134.89.36 -P 15144 -u zfjd -p'szsf@zfjd' --default-character-set=utf8mb4 --single-transaction --triggers --events zfjd_ef20_07_08 > /efcode20/dbv2/zfjd_ef20_1_2026_07_21_utf8.sql mysqldump -h 10.134.89.36 -P 15144 -u zfjd -p'szsf@zfjd' --default-character-set=utf8mb4 --single-transaction --triggers --events zfjd_ef20_prod > /efcode20/dbv2/zfjd_ef20_prod_2026_07_30_utf8.sql
``` ```
* 单独备份市监表 * 单独备份市监表
```bash ```bash
mysqldump -h 10.134.89.36 -P 15144 -u zfjd -p'szsf@zfjd' --default-character-set=utf8mb4 --single-transaction --triggers --events zfjd_ef20_1 sszt_jbxx110497_new > /efcode20/dbv2/zfjd_ef20_1_2026_06_20_utf8_sszt_jbxx110497_new.sql mysqldump -h 10.134.89.36 -P 15144 -u zfjd -p'szsf@zfjd' --default-character-set=utf8mb4 --single-transaction --triggers --events zfjd_ef20_1 sszt_jbxx110497_new > /efcode20/dbv2/zfjd_ef20_1_2026_06_20_utf8_sszt_jbxx110497_new.sql
``` ```
* 压缩备份文件 * 压缩备份文件
zip -e -P 'xj.sdeweqwew222qwe.12345' /efcode20/dbv2/zfjd_ef20_prod_2026_07_26.zip /efcode20/dbv2/zfjd_ef20_prod_2026_07_26.sql zip -e -P 'xj.sdeweqwew222qwe.12345' /efcode20/dbv2/zfjd_ef20_prod_2026_07_30.zip /efcode20/dbv2/zfjd_ef20_prod_2026_07_30_utf8.sql
* 导入2期库 * 导入2期库
``` ```
mysql -h 10.134.89.36 -P 15144 -u zfjd -p'szsf@zfjd' --default-character-set=utf8mb4 zfjd_ef20_prod < /efcode20/dbv2/zfjd_ef20_1_2026_07_21_utf8.sql mysql -h 10.134.89.36 -P 15144 -u zfjd -p'szsf@zfjd' --default-character-set=utf8mb4 zfjd_ef20_prod < /efcode20/dbv2/zfjd_ef20_1_2026_07_21_utf8.sql
@ -189,7 +189,7 @@ firewall-cmd --list-all
nohup java -jar /efcode20/zdxt-ent-ep.jar --spring.profiles.active=prod,prod-ent-ep > /efcode20/zdxt-ent-ep.log 2>&1 & nohup java -jar /efcode20/zdxt-ent-ep.jar --spring.profiles.active=prod,prod-ent-ep > /efcode20/zdxt-ent-ep.log 2>&1 &
* 日常维护 * 日常维护
好的
--- ---
## 10.76.108.8 执法端后台服务 ## 10.76.108.8 执法端后台服务

25
ng/3/nginx.conf

@ -86,8 +86,8 @@ http {
#1proxy_headers_hash_bucket_size 6400; #1proxy_headers_hash_bucket_size 6400;
#proxy_set_header X-Real-IP $remote_addr; #proxy_set_header X-Real-IP $remote_addr;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#root /usr/local/nginx/html/HTML-ICP/; root /usr/local/nginx/html/HTML-ICP/;
root /usr/local/nginx/html/dist-zf/; # root /usr/local/nginx/html/dist-zf/;
index index.html index.htm; index index.html index.htm;
} }
@ -108,12 +108,19 @@ http {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
} }
# location /efcode20-sup-web/ { location /efcode20-sup-web/ {
# proxy_pass http://10.76.108.15:12004/; proxy_pass http://10.76.108.15:12004/;
# proxy_set_header Host $http_host; proxy_set_header Host $http_host;
# proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# } }
location ^~ /nacos-console/ {
proxy_pass http://10.76.108.11:8080/nacos-console/;
proxy_set_header Host $host:$server_port;
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 $scheme;
}
#location ~* /(uploads|images)/.*\.(php|php2|php3|php4|php5|phpm|phpml|phtml|phtm|phps|pht|asp|aspx|asa|cer|cdx|ashx|exe|sh|bash|jsp|jspx|jspa|html|web.config|cfm|cgi|war|ashx|htaccess|py|pl)$ { #location ~* /(uploads|images)/.*\.(php|php2|php3|php4|php5|phpm|phpml|phtml|phtm|phps|pht|asp|aspx|asa|cer|cdx|ashx|exe|sh|bash|jsp|jspx|jspa|html|web.config|cfm|cgi|war|ashx|htaccess|py|pl)$ {
#deny all; # 拦截.html和.htm文件,并返回403禁止访问 #deny all; # 拦截.html和.htm文件,并返回403禁止访问
#return 403; #return 403;
@ -122,7 +129,7 @@ http {
# 执法端 # 执法端
alias /usr/local/nginx_new/html/dist-zf/; alias /usr/local/nginx_new/html/dist-zf/;
#root /usr/local/nginx/html/zfjdm/; #root /usr/local/nginx/html/zfjdm/;
index index.html index.htm; try_files $uri $uri/ /enforce/index.html;
} }
location /enterprise { location /enterprise {
# 企业端 # 企业端

3
zdxt-web-server/nacos-server/readme.md

@ -1,3 +1,4 @@
nacos-server-3.2.2 nacos-server-3.2.2
http://127.0.0.1:8080/ http://127.0.0.1:8080/
nacos/nacos http://XXXXX/nacos-console/
nacos/Szsf@zfjd@2026
Loading…
Cancel
Save