Welcome! Log In Create A New Profile

Advanced

Re: nginx running as nginx.conf

August 17, 2012 12:48PM
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
Subject Author Posted

nginx running as nginx.conf

theguy August 17, 2012 12:18PM

Re: nginx running as nginx.conf

magicdrums August 17, 2012 12:33PM

Re: nginx running as nginx.conf

theguy August 17, 2012 12:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready