6 error_log /var/log/nginx/error.log warn;
7 #error_log logs/error.log notice;
8 #error_log logs/error.log info;
14 worker_connections 1024;
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;
34 # if client sends stuff larger than this, it gets 413 error
35 client_max_body_size 10m;
41 server_name localhost;
45 #access_log logs/host.access.log main;
49 #index index.html index.htm;
53 #error_page 404 /404.html;
55 # redirect server error pages to the static page /50x.html
57 error_page 500 502 503 504 /50x.html;
58 location = /50x.html {
65 include vhosts.d/*.conf;