[root@208 sbin]# /home/nginx/sbin/nginx -V
nginx: nginx version: nginx/1.0.10
nginx: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
nginx: TLS SNI support enabled
nginx: configure arguments: --prefix=/home/nginx --user=nginx --group=nginx --without-select_module --without-poll_module --with-http_ssl_module --with-http_realip_module --with-http_gzip_static_module --with-http_stub_status_module --without-http_fastcgi_module --without-http_memcached_module --without-http_empty_gif_module --with-pcre=../pcre-7.9 --with-openssl=../openssl-0.9.8r --add-module=../hmux --add-module=../ngx_http_upstream_keepalive-c6396fef9295 --with-debug
part of nginx conf fileļ¼
events {
worker_connections 8192;
use epoll;
epoll_events 4096;
accept_mutex off;
}
...
upstream yyy {
server xxx.xxx.xxx.xxx:36901;
server xxx.xxx.xxx.xxx:36902;
server xxx.xxx.xxx.xxx:36903;
server xxx.xxx.xxx.xxx:36904;
keepalive 1024;
}