你想怎么用?做静动分离还是让nginx做负载均衡?动静分离需要在nginx的配置文件中写一条location匹配location ~ *.jsp$ {proxy_pass http://127.0.0.1:8080}负载均衡需要再nginx配置文件中用upsteam和proxy_passupstream backend {#ip_hash;server 192.168.1.2;server 192.168.1.3;server 192.168.1.4;}