|
|
@@ -18,7 +18,7 @@ server {
|
|
|
location ^~ /web/upload/ {
|
|
|
if ($uri ~* "\.(jsp|jspx|class|war|php|phtml|sh)$") { return 404; }
|
|
|
if ($uri ~ "/\.zq-(quarantine|stage)") { return 404; }
|
|
|
- proxy_pass http://172.17.0.1:8080;
|
|
|
+ proxy_pass http://zq-tomcat-external:8080;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
@@ -38,7 +38,7 @@ server {
|
|
|
}
|
|
|
|
|
|
location / {
|
|
|
- proxy_pass http://172.17.0.1:8080;
|
|
|
+ proxy_pass http://zq-tomcat-external:8080;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|