|
|
|
@ -108,19 +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 ^~ /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 /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; |
|
|
|
|