分配算法有:(轮询,权重,ip_哈希算法,)
参考:https://www.cnblogs.com/qlqwjy/p/8536779.html
upstream scisserver{
server 123.56.75.183:8090;
server 123.56.75.183:8091;
server 123.56.75.183:8092;
}
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://scisserver;
}
}