Mercurial > hg > nginx-vendor-0-8
annotate conf/nginx.conf @ 74:77969b24f355 NGINX_0_1_37
nginx 0.1.37
*) Change: now the "\n" is added to the end of the "nginx.pid" file.
*) Bugfix: the responses may be transferred not completely, if many
parts or the big parts were included by SSI.
*) Bugfix: if all backends had returned the 404 reponse and the
"http_404" parameter of the "proxy_next_upstream" or
"fastcgi_next_upstream" directives was used, then nginx started to
request all backends again.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 23 Jun 2005 00:00:00 +0400 |
parents | b31656313b59 |
children | da9a3b14312d |
rev | line source |
---|---|
0 | 1 |
4 | 2 #user nobody; |
0 | 3 worker_processes 3; |
4 | |
5 #error_log logs/error.log; | |
6 #pid logs/nginx.pid; | |
7 | |
8 | |
9 events { | |
10 connections 1024; | |
11 } | |
12 | |
13 | |
14 http { | |
15 include conf/mime.types; | |
16 default_type application/octet-stream; | |
17 | |
42 | 18 sendfile on; |
72 | 19 #tcp_nodelay on; |
42 | 20 |
72 | 21 #keepalive_timeout 0; |
0 | 22 |
23 #gzip on; | |
24 | |
25 server { | |
26 listen 80; | |
27 | |
28 charset on; | |
29 source_charset koi8-r; | |
30 | |
31 #access_log logs/access.log; | |
32 | |
33 location / { | |
34 root html; | |
35 index index.html index.htm; | |
36 } | |
37 | |
30 | 38 # deny access to .htaccess files |
39 # | |
40 #location ~ \.ht { | |
41 # deny all; | |
42 #} | |
0 | 43 } |
44 } |