#配置上游服务器upstream tomcats { server 192.168.204.130:8080 weight=1; server 192.168.204.129:8080 weight=2; //权重越大,访问次数越高}