1 user www-data www-data;
3 pid /var/run/nginx.pid;
4 lock_file /var/lock/nginx.lock;
7 #error_log syslog error;
10 worker_rlimit_nofile 65536;
11 working_directory /var/tmp;
15 worker_connections 16384;
26 include /etc/nginx/mime.types;
27 default_type application/octet-stream;
29 server_name_in_redirect off;
32 keepalive_timeout 60 60;
33 keepalive_requests 256;
40 client_header_timeout 1m;
41 client_body_timeout 1m;
44 reset_timedout_connection on;
46 client_header_buffer_size 4k;
47 large_client_header_buffers 64 16k;
49 client_max_body_size 32m;
50 client_body_buffer_size 1m;
51 client_body_temp_path /var/spool/nginx/client-temp 2 2;
53 fastcgi_next_upstream error timeout invalid_header;
54 fastcgi_buffers 64 16k;
55 fastcgi_temp_path /var/spool/nginx/fastcgi-temp 2 2;
58 proxy_next_upstream error timeout invalid_header;
60 proxy_temp_path /var/spool/nginx/proxy-temp 2 2;
62 include /etc/nginx/fastcgi_params;
64 include /etc/nginx/conf.d/*.conf;
65 include /etc/nginx/sites-enabled/*.conf;