Mercurial > hg > nginx-vendor-current
annotate conf/nginx.conf @ 84:991c6e4c7654 NGINX_0_1_42
nginx 0.1.42
*) Bugfix: if the request URI had a zero length after the processing in
the ngx_http_proxy_module, then the segmentation fault or bus error
occurred in the ngx_http_proxy_module.
*) Bugfix: the "limit_rate" directive did not work inside the "if"
block; bug appeared in 0.1.38.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 23 Aug 2005 00:00:00 +0400 |
parents | 9db7e0b5b27f |
children | 644a7935144b |
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 | |
78 | 28 charset koi8-r; |
0 | 29 |
30 #access_log logs/access.log; | |
31 | |
32 location / { | |
33 root html; | |
34 index index.html index.htm; | |
35 } | |
36 | |
30 | 37 # deny access to .htaccess files |
38 # | |
76 | 39 #location ~ /\.ht { |
30 | 40 # deny all; |
41 #} | |
0 | 42 } |
43 } |