nginx running as nginx.conf

theguy nginx-forum at nginx.us
Fri Aug 17 16:48:54 UTC 2012


user  nginx;
worker_processes  1;

error_log  /var/log/nginx/error.log warn;
pid        /var/run/nginx.pid;

worker_rlimit_nofile  8192;

events {
    worker_connections  7168;
    use epoll;
}

http {
    server_names_hash_max_size 2048;

    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request"
'
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  off;

    sendfile       on;
    tcp_nopush     on;
    tcp_nodelay    on;
    server_tokens  off;

    keepalive_timeout  10;

    gzip  on;
    gzip_min_length  1100;
    gzip_buffers  4 32k;
    gzip_types    text/plain application/x-javascript text/xml text/css;
    ignore_invalid_headers on;

    client_header_timeout  3m;
    client_body_timeout 3m;
    send_timeout     3m;
    connection_pool_size  256;
    client_header_buffer_size 4k;
    large_client_header_buffers 4 32k;
    request_pool_size  4k;
    output_buffers   4 32k;
    postpone_output  1460;

    include /etc/nginx/conf.d/*.conf;
}

Both are running the same nginx.conf so I don't know what's going on.

Im running CentOS 6.3 64-bits

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229866,229868#msg-229868



More information about the nginx mailing list