前端访问:10.0.10.154:10004/jcxxpt/bz/getPdfDz
经过nginx代理:
1 server { 2 listen 10004; 3 server_name 10.0.10.154; 4 client_max_body_size 0; 5 charset utf-8; 6 location / { 7 return 301 /gtkjjcxxpt/; 8 } 9 location ^~ /gtkjjcxxpt/ { 10 proxy_pass http://10.0.10.154:8080; 11 } 12 location ^~ /jcxxpt/ { 13 proxy_pass http://10.0.10.154:19901; 14 } 15 location ^~ /map/ { 16 proxy_pass http://10.0.10.75:10004; 17 } 18 location ^~ /map_server/ { 19 proxy_pass http://10.0.10.75:10004; 20 } 21 }
到:http://10.0.10.154:19901/bz/getPdfDz