一二句话说不清楚,参考文档配置吧!
——————
Linux 系统安装配置 Nginx-https://help.fanruan.com/finereport/doc-view-2644.html
负载均衡配置指导-https://help.fanruan.com/finereport/doc-view-2819.html