refine ignoring of CVS files
[nginx_drupal.git] / conf / nginx.conf
blobe2f1086b679417545c1602991244beb4c3857cf5
2 #user  nobody;
3 user nginx;
4 worker_processes  4;
6 error_log  /var/log/nginx/error.log warn;
7 #error_log  logs/error.log  notice;
8 #error_log  logs/error.log  info;
10 #pid        logs/nginx.pid;
13 events {
14     worker_connections  1024;
18 http {
19     include       mime.types;
20     default_type  application/octet-stream;
22     log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
23                       '$status $body_bytes_sent "$http_referer" '
24                       '"$http_user_agent" "$http_x_forwarded_for"';
26     #access_log  logs/access.log  main;
28     sendfile        on;
29     #tcp_nopush     on;
31     #keepalive_timeout  0;
32     keepalive_timeout  65;
34     # if client sends stuff larger than this, it gets 413 error
35     client_max_body_size 10m;
37     gzip  on;
39     server {
40         listen       80;
41         server_name  localhost;
43         charset utf-8;
45         #access_log  logs/host.access.log  main;
47         location / {
48             root   html;
49             #index  index.html index.htm;
50             index ok.html;
51         }
53         #error_page  404              /404.html;
55         # redirect server error pages to the static page /50x.html
56         #
57         error_page   500 502 503 504  /50x.html;
58         location = /50x.html {
59             root   html;
60         }
62     }
65   include vhosts.d/*.conf;