worker_processes  1;
 
events {
    worker_connections  1024;
}
 
 
http {
 
    upstream www {
        server 127.0.0.1:9001   weight=5 max_fails=0 fail_timeout=5s;
    }
 
    upstream api {
 
        server 127.0.0.1:9003   weight=5 max_fails=0 fail_timeout=5s;
    }
 
    upstream test {
 
        server 127.0.0.1:9000   weight=5 max_fails=0 fail_timeout=5s;
    }
 
    include       mime.types;
    default_type  application/octet-stream;
    sendfile        on;
    fastcgi_connect_timeout 30000;
    fastcgi_send_timeout 30000;    
    fastcgi_read_timeout 30000;
 
    include vhost/*.conf; 
}
 
 
 
 
 

相关文章:

  • 2021-10-22
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2021-10-11
  • 2021-06-19
  • 2021-10-28
猜你喜欢
  • 2021-07-12
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
  • 2021-05-26
相关资源
相似解决方案