2011-02-09 15:45:41 -05:00
|
|
|
worker_processes 1;
|
|
|
|
user nginx nginx;
|
2011-03-14 21:44:30 -04:00
|
|
|
pid /usr/local/nginx/logs/nginx.pid;
|
|
|
|
error_log /usr/local/nginx/logs/error.log;
|
2011-02-09 15:45:41 -05:00
|
|
|
|
|
|
|
events {
|
|
|
|
worker_connections 1024;
|
|
|
|
accept_mutex off;
|
|
|
|
}
|
|
|
|
|
|
|
|
http {
|
|
|
|
access_log /var/log/nginx/access.log;
|
|
|
|
|
|
|
|
include mime.types;
|
|
|
|
default_type application/octet-stream;
|
|
|
|
sendfile on;
|
|
|
|
|
|
|
|
gzip on;
|
|
|
|
gzip_static on;
|
|
|
|
gzip_comp_level 2;
|
|
|
|
gzip_min_length 1000;
|
|
|
|
gzip_proxied expired no-cache no-store private auth;
|
|
|
|
gzip_types text/plain text/html application/xml text/css application/x-javascript application/javascript text/javascript application/xml application/xml+rss;
|
|
|
|
gzip_vary on;
|
|
|
|
|
|
|
|
include /usr/local/nginx/conf/sites-enabled/*;
|
2011-03-21 20:07:24 -04:00
|
|
|
}
|