|
|
|
@ -86,8 +86,8 @@ http { |
|
|
|
#1proxy_headers_hash_bucket_size 6400; |
|
|
|
#proxy_set_header X-Real-IP $remote_addr; |
|
|
|
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
#root /usr/local/nginx/html/HTML-ICP/; |
|
|
|
root /usr/local/nginx/html/dist-zf/; |
|
|
|
root /usr/local/nginx/html/HTML-ICP/; |
|
|
|
# root /usr/local/nginx/html/dist-zf/; |
|
|
|
index index.html index.htm; |
|
|
|
} |
|
|
|
|
|
|
|
@ -108,12 +108,19 @@ http { |
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
} |
|
|
|
# location /efcode20-sup-web/ { |
|
|
|
# proxy_pass http://10.76.108.15:12004/; |
|
|
|
# proxy_set_header Host $http_host; |
|
|
|
# proxy_set_header X-Real-IP $remote_addr; |
|
|
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
# } |
|
|
|
location /efcode20-sup-web/ { |
|
|
|
proxy_pass http://10.76.108.15:12004/; |
|
|
|
proxy_set_header Host $http_host; |
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
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)$ { |
|
|
|
#deny all; # 拦截.html和.htm文件,并返回403禁止访问 |
|
|
|
#return 403; |
|
|
|
@ -122,7 +129,7 @@ http { |
|
|
|
# 执法端 |
|
|
|
alias /usr/local/nginx_new/html/dist-zf/; |
|
|
|
#root /usr/local/nginx/html/zfjdm/; |
|
|
|
index index.html index.htm; |
|
|
|
try_files $uri $uri/ /enforce/index.html; |
|
|
|
} |
|
|
|
location /enterprise { |
|
|
|
# 企业端 |
|
|
|
|