Commit graph

231 commits

Author SHA1 Message Date
Igor Sysoev
2fb58ed49e auto redirect lost arguments 2007-08-15 15:57:26 +00:00
Igor Sysoev
8a7b4af8b5 regex in server_name 2007-08-12 19:48:12 +00:00
Igor Sysoev
8b6afa26fa fix building by bcc without PCRE 2007-08-12 15:25:09 +00:00
Igor Sysoev
c5245bab92 set default listen() backlog to 511 on all platforms except FreeBSD 2007-08-09 13:32:21 +00:00
Igor Sysoev
c4d0f5b0ae named location 2007-07-29 18:11:39 +00:00
Igor Sysoev
37f3097fbe --sysconfdir=DIR 2007-07-29 18:05:45 +00:00
Igor Sysoev
5fb6ed90af the "www.example.*" wildcard hash support 2007-06-11 19:49:22 +00:00
Igor Sysoev
2fe63dee3c fix building --without-http_rewrite_module, the bug was introduced in r1236 2007-06-08 05:40:59 +00:00
Igor Sysoev
8eeb341edc use pointer to an array instead of array for inclusive locations inside location 2007-06-05 11:42:59 +00:00
Igor Sysoev
aa0bbf84c3 optimize regex location search 2007-06-05 06:44:08 +00:00
Igor Sysoev
17ba2a36bd forbid alias inside location given by regular expression 2007-06-04 20:45:45 +00:00
Igor Sysoev
b8ab862e2c use stable search where it is required 2007-05-21 14:09:12 +00:00
Igor Sysoev
c89fb69905 style fix 2007-05-17 18:07:28 +00:00
Igor Sysoev
0dcbd9f7db limit minimal pool size 2007-05-07 09:20:42 +00:00
Igor Sysoev
a45a5c06cd style fix 2007-05-07 08:49:15 +00:00
Igor Sysoev
9b5f3f6f82 sendfile_max_chunk 2007-05-07 06:33:39 +00:00
Igor Sysoev
f8c3b631c8 $request_time has millisecond precision 2007-04-21 07:50:19 +00:00
Igor Sysoev
2576ebc920 *) introduce ngx_strchr()
*) test server_name for '/': it's common configuration error when
   trailing ';' is omitted and a next directive is treated as server_name
2007-04-02 06:27:30 +00:00
Igor Sysoev
bb4487efe7 style fix 2007-04-02 05:43:21 +00:00
Igor Sysoev
15ce70a750 disable $document_root variable in the "root/alias" directive 2007-04-01 09:03:14 +00:00
Igor Sysoev
776257022a the "include" support inside the "types" directive 2007-03-29 10:27:24 +00:00
Igor Sysoev
4418a47c63 style fix 2007-03-28 14:38:33 +00:00
Igor Sysoev
2e32c0fc0d ngx_strcasecmp()/ngx_strncasecmp() 2007-02-14 18:51:19 +00:00
Igor Sysoev
ef1d3455f5 undo "client_body_in_file_only any"
and introduce "client_body_in_file_only clean"

introduce ngx_pool_delete_file() to not break a possible third-party
ngx_pool_cleanup_file() usage that may lead to an removal of the useful files

delete unnecessary ngx_http_finalize_request_body()
2007-01-25 08:45:04 +00:00
Igor Sysoev
ed860f47ed client_body_in_file_only any 2007-01-24 09:14:08 +00:00
Igor Sysoev
9f93319aa3 allow "sendfile" in "if" context 2007-01-21 17:42:28 +00:00
Igor Sysoev
3ba3eb196b style fix 2007-01-12 21:57:20 +00:00
Igor Sysoev
a01e63ea8c rewritten upstream 2006-12-12 16:46:16 +00:00
Igor Sysoev
eeb8802d21 add more WebDAV methods 2006-11-14 12:43:48 +00:00
Igor Sysoev
50eea191f1 fix subrequest limit 2006-11-02 13:48:28 +00:00
Igor Sysoev
f1d7767f02 fix subrequest limit 2006-11-02 13:38:25 +00:00
Igor Sysoev
ee524b7a9f now the "listen" directives use ngx_parse_url() 2006-10-24 13:06:55 +00:00
Igor Sysoev
2951035076 <!--#include virtual=... set=... --> 2006-10-13 15:20:10 +00:00
Igor Sysoev
888f0963a3 remove r->root_length 2006-10-12 13:36:54 +00:00
Igor Sysoev
ae8b56c96e compact r->http_minor and r->http_major 2006-10-12 13:08:26 +00:00
Igor Sysoev
6668133b27 fix <!--#include virtual=... wait="yes" --> 2006-10-10 14:30:39 +00:00
Igor Sysoev
7ecec111f4 allowing handling 400 errors via proxy_pass 2006-09-25 17:49:49 +00:00
Igor Sysoev
ea933c783f disable "error_page 499 ..." 2006-09-25 17:48:34 +00:00
Igor Sysoev
a5719ead3e nginx-0.4.0-RELEASE import
*) Change in internal API: the HTTP modules initialization was moved
       from the init module phase to the HTTP postconfiguration phase.

    *) Change: now the request body is not read beforehand for the
       ngx_http_perl_module: it's required to start the reading using the
       $r->has_request_body method.

    *) Feature: the ngx_http_perl_module supports the DECLINED return code.

    *) Feature: the ngx_http_dav_module supports the incoming "Date" header
       line for the PUT method.

    *) Feature: the "ssi" directive is available inside the "if" block.

    *) Bugfix: a segmentation fault occurred if there was an "index"
       directive with variables and the first index name was without
       variables; the bug had appeared in 0.1.29.
2006-08-30 10:39:17 +00:00
Igor Sysoev
227af605d4 nginx-0.3.61-RELEASE import
*) Change: now the "tcp_nodelay" directive is turned on by default.

    *) Feature: the "msie_refresh" directive.

    *) Feature: the "recursive_error_pages" directive.

    *) Bugfix: the "rewrite" directive returned incorrect redirect, if the
       redirect had the captured escaped symbols from original URI.
2006-08-28 16:57:48 +00:00
Igor Sysoev
c82c0937ce nginx-0.3.60-RELEASE import
*) Bugfix: a worker process may got caught in an endless loop while an
       error redirection; the bug had appeared in 0.3.59.
2006-08-18 14:17:54 +00:00
Igor Sysoev
fd09392ca9 nginx-0.3.59-RELEASE import
*) Feature: now is possible to do several redirection using the
       "error_page" directive.

    *) Bugfix: the "dav_access" directive did not support three parameters.

    *) Bugfix: the "error_page" directive did not changes the
       "Content-Type" header line after the "X-Accel-Redirect" was used;
       the bug had appeared in 0.3.58.
2006-08-16 13:09:33 +00:00
Igor Sysoev
fb2d2aadb0 nginx-0.3.58-RELEASE import
*) Feature: the "error_page" directive supports the variables.

    *) Change: now the procfs interface instead of sysctl is used on Linux.

    *) Change: now the "Content-Type" header line is inherited from first
       response when the "X-Accel-Redirect" was used.

    *) Bugfix: the "error_page" directive did not redirect the 413 error.

    *) Bugfix: the trailing "?" did not remove old arguments if no new
       arguments were added to a rewritten URI.

    *) Bugfix: nginx could not run on 64-bit FreeBSD 7.0-CURRENT.
2006-08-14 15:09:38 +00:00
Igor Sysoev
6d3f4f310f nginx-0.3.57-RELEASE import
*) Feature: the $ssl_client_serial variable.

    *) Bugfix: in the "!-e" operator of the "if" directive.
       Thanks to Andrian Budanstov.

    *) Bugfix: while a client certificate verification nginx did not send
       to a client the required certificates information.

    *) Bugfix: the $document_root variable did not support the variables in
       the "root" directive.
2006-08-09 19:59:45 +00:00
Igor Sysoev
4c8a3ba101 nginx-0.3.55-RELEASE import
*) Feature: the "stub" parameter in the "include" SSI command.

    *) Feature: the "block" SSI command.

    *) Feature: the unicode2nginx script was added to contrib.

    *) Bugfix: if a "root" was specified by variable only, then the root
       was relative to a server prefix.

    *) Bugfix: if the request contained "//" or "/./" and escaped symbols
       after them, then the proxied request was sent unescaped.

    *) Bugfix: the $r->headers_in("Cookie") of the ngx_http_perl_module now
       returns all "Cookie" header lines.

    *) Bugfix: a segmentation fault occurred if
       "client_body_in_file_only on" was used and nginx switched to a next
       upstream.

    *) Bugfix: on some condition while reconfiguration character codes
       inside the "charset_map" may be treated invalid; the bug had
       appeared in 0.3.50.
2006-07-28 15:16:17 +00:00
Igor Sysoev
10a8d1d59b nginx-0.3.54-RELEASE import
*) Feature: nginx now logs the subrequest information to the error log.

    *) Feature: the "proxy_next_upstream", "fastcgi_next_upstream", and
       "memcached_next_upstream" directives support the "off" parameter.

    *) Feature: the "debug_connection" directive supports the CIDR address
       form.

    *) Bugfix: if a response of proxied server or FastCGI server was
       converted from UTF-8 or back, then it may be transferred incomplete.

    *) Bugfix: the $upstream_response_time variable had the time of the
       first request to a backend only.

    *) Bugfix: nginx could not be built on amd64 platform; the bug had
       appeared in 0.3.53.
2006-07-11 13:20:19 +00:00
Igor Sysoev
cf1e69ba43 nginx-0.3.53-RELEASE import
*) Change: the "add_header" directive adds the string to 204, 301, and
       302 responses.

    *) Feature: the "server" directive in the "upstream" context supports
       the "weight" parameter.

    *) Feature: the "server_name" directive supports the "*" wildcard.

    *) Feature: nginx supports the request body size more than 2G.

    *) Bugfix: if a client was successfully authorized using "satisfy_any
       on", then anyway the message "access forbidden by rule" was written
       in the log.

    *) Bugfix: the "PUT" method may erroneously not create a file and
       return the 409 code.

    *) Bugfix: if the IMAP/POP3 backend returned an error, then nginx
       continued proxying anyway.
2006-07-07 16:33:19 +00:00
Igor Sysoev
946811c6b2 nginx-0.3.50-RELEASE import
*) Change: the "proxy_redirect_errors" and "fastcgi_redirect_errors"
       directives was renamed to the "proxy_intercept_errors" and
       "fastcgi_intercept_errors" directives.

    *) Feature: the ngx_http_charset_module supports the recoding from the
       single byte encodings to the UTF-8 encoding and back.

    *) Feature: the "X-Accel-Charset" response header line is supported in
       proxy and FastCGI mode.

    *) Bugfix: the "\" escape symbol in the "\"" and "\'" pairs in the SSI
       command was removed only if the command also has the "$" symbol.

    *) Bugfix: the "<!--" string might be added on some conditions in the
       SSI after inclusion.

    *) Bugfix: if the "Content-Length: 0" header line was in response, then
       in nonbuffered proxying mode the client connection was not closed.
2006-06-28 16:00:26 +00:00
Igor Sysoev
5bb8719d12 nginx-0.3.48-RELEASE import
*) Change: now the ngx_http_charset_module works for subrequests, if
       the response has no "Content-Type" header line.

    *) Bugfix: if the "proxy_pass" directive has no URI part, then the
       "proxy_redirect default" directive add the unnecessary slash in
       start of the rewritten redirect.

    *) Bugfix: the internal redirect always transform client's HTTP method
       to GET, now the transformation is made for the "X-Accel-Redirect"
       redirects only and if the method is not HEAD; the bug had appeared
       in 0.3.42.

    *) Bugfix: the ngx_http_perl_module could not be built, if the perl was
       built with the threads support; the bug had appeared in 0.3.46.
2006-05-29 17:28:12 +00:00
Igor Sysoev
0dd08e0442 nginx-0.3.47-RELEASE import
*) Feature: the "upstream" directive.

    *) Change: now the "\" escape symbol in the "\"" and "\'" pairs in the
       SSI command is always removed.
2006-05-23 14:54:58 +00:00