Mercurial > hg > nginx
annotate conf/nginx.conf @ 535:563ad09abf50 release-0.1.42
nginx-0.1.42-RELEASE import
*) 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; the bug had appeared in 0.1.38.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 23 Aug 2005 15:36:54 +0000 |
parents | e5d7d0334fdb |
children | 174f1e853e1e |
rev | line source |
---|---|
450 | 1 |
455 | 2 #user nobody; |
450 | 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 | |
493 | 18 sendfile on; |
523 | 19 #tcp_nodelay on; |
493 | 20 |
523 | 21 #keepalive_timeout 0; |
450 | 22 |
23 #gzip on; | |
24 | |
25 server { | |
26 listen 80; | |
27 | |
529 | 28 charset koi8-r; |
450 | 29 |
30 #access_log logs/access.log; | |
31 | |
32 location / { | |
33 root html; | |
34 index index.html index.htm; | |
35 } | |
36 | |
481 | 37 # deny access to .htaccess files |
38 # | |
527 | 39 #location ~ /\.ht { |
481 | 40 # deny all; |
41 #} | |
450 | 42 } |
43 } |