Mercurial > hg > nginx
annotate conf/nginx.conf @ 569:174f1e853e1e release-0.3.6
nginx-0.3.6-RELEASE import
*) Change: now the IMAP/POP3 proxy do not send the empty login to
authorization server.
*) Feature: the "log_format" supports the variables in the $name form.
*) Bugfix: if at least in one server was no the "listen" directive,
then nginx did not listen on the 80 port; the bug had appeared in
0.3.3.
*) Bugfix: if the URI part is omitted in "proxy_pass" directive, the
the 80 port was always used.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 24 Oct 2005 15:09:41 +0000 |
parents | e5d7d0334fdb |
children | 58475592100c |
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 | |
569 | 37 # proxy the PHP scripts to Apache listening on 127.0.0.1:80 |
38 # | |
39 #location ~ \.php$ { | |
40 # proxy_pass http://127.0.0.1; | |
41 #} | |
42 | |
481 | 43 # deny access to .htaccess files |
44 # | |
527 | 45 #location ~ /\.ht { |
481 | 46 # deny all; |
47 #} | |
450 | 48 } |
49 } |