添加配置:
proxy_next_upstream error timeout invalid_header http_500 http_503 http_502;
upstream http.weathertest.server
{
server 192.168.194.240:6655 max_fails=1000 fail_timeout=120s ;
server 192.168.194.240:6622 backup;
}