Ticket #1251: nginx.conf

File nginx.conf, 674 bytes (added by eendru@…, 9 years ago)

nginx.conf

Line 
1daemon off;
2master_process off;
3user apolikarpov;
4worker_processes 1;
5
6
7worker_rlimit_nofile 524288;
8events {
9 worker_connections 65536;
10 accept_mutex off;
11}
12
13error_log /var/log/nginx/error.log debug;
14
15http {
16
17 include mime.types;
18 default_type application/octet-stream;
19 client_max_body_size 10m;
20
21 sendfile on;
22 keepalive_timeout 65;
23
24 if_modified_since off;
25
26 access_log /dev/stdout;
27
28 server{
29 ignore_invalid_headers off;
30 listen 127.0.0.1:9999 default_server;
31
32 large_client_header_buffers 4 8192;
33 client_max_body_size 1073741824;
34
35 location / {
36 access_log /dev/stdout;
37 try_files /200.html =404;
38 }
39
40 }
41
42}
43