Mercurial > hg > nginx-ranges
annotate conf/nginx.conf @ 104:146eff53ab60 NGINX_0_2_6
nginx 0.2.6
*) Change: while using load-balancing the time before the failed
backend retry was decreased from 60 to 10 seconds.
*) Change: the "proxy_pass_unparsed_uri" was canceled, the original URI
now passed, if the URI part is omitted in "proxy_pass" directive.
*) Feature: the "error_page" directive supports redirects and allows
more flexible to change an error code.
*) Change: the charset in the "Content-Type" header line now is ignored
in proxied subrequests.
*) Bugfix: if the URI was changed in the "if" block and request did not
found new configuration, then the ngx_http_rewrite_module rules ran
again.
*) Bugfix: if the "set" directive set the ngx_http_geo_module variable
in some configuration part, the this variable was not available in
other configuration parts and the "using uninitialized variable"
error was occurred; bug appeared in 0.2.2.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 05 Oct 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 } |