#user nobody;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;


events {
worker_connections 1024;
}
stream {
upstream mysql {
server 127.0.0.1:3306 max_fails=3 fail_timeout=30s;
}
server {
listen 4306;

proxy_pass mysql;

}

}

http {

}

 

相关文章:

  • 2021-09-12
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
相关资源
相似解决方案