stream {
upstream mysql {
hash $remote_addr consistent;
server 10.26.112.12:3306 max_fails=3 fail_timeout=30s;
}

server {
listen 3307;
proxy_connect_timeout 30s;
proxy_timeout 600s;
proxy_pass mysql;
}
}

相关文章:

  • 2021-11-06
  • 2021-11-04
  • 2022-12-23
  • 2021-08-29
  • 2021-12-08
  • 2021-08-13
猜你喜欢
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2022-03-09
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
相关资源
相似解决方案