nginx主备配置

添加配置:

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;

}

posted @   kabibo  阅读(1665)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示