【Nginx】负载配置

upstream gateway {  
    ip_hash;   
    server 10.176.10.100:8765;
    server 10.176.10.200:8765;
}
location ~ ^/api {
    proxy_pass http://gateway;
}

 

相关文章:

  • 2021-04-29
  • 2021-08-24
猜你喜欢
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-10-20
  • 2021-07-30
  • 2021-05-31
相关资源
相似解决方案