[root@DR1 Desktop]# vim /etc/nginx/nginx.conf
...
upstream websrvs {
#server 10.10.0.21:80;
#server 10.10.0.22:80;
server 10.10.0.23:6081; #转发到Varnish服务器
server 127.0.0.1:80 backup;
}
...
[root@DR2 Desktop]# systemctl reload nginx.service
Linux公社的RSS地址:https://www.linuxidc.com/rssFeed.aspx