summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_conf_file.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-06-02add drive letter for Win32 root pathIgor Sysoev1-24/+71
2009-05-14style fixIgor Sysoev1-1/+3
2009-04-30*) refactor error_log processing: listen socket log might inherit built-inIgor Sysoev1-4/+3
error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames
2009-04-28*) do not show line number for -g optionIgor Sysoev1-3/+14
*) reset configuration file after -g option has been parsed
2009-04-27ngx_log_errno()Igor Sysoev1-21/+1
2009-04-27use ngx_vslprintf(), ngx_slprintf()Igor Sysoev1-4/+4
2009-04-27-p and --prefix=Igor Sysoev1-10/+12
2009-04-23issue start up errors and warning on both stderr and error_logIgor Sysoev1-1/+1
2009-02-24small optimization: " == NGX_ERROR" > " != NGX_OK"Igor Sysoev1-2/+2
2008-11-25allocate cf->conf_file and cf->conf_file->buffer on stackIgor Sysoev1-21/+15
2008-11-25fix segfault on close errorIgor Sysoev1-2/+2
2008-11-25*) increase ngx_conf_log_error() bufferIgor Sysoev1-11/+27
*) always log an error code
2008-11-11compatibility with glibc 2.3, warn_unused_result attribute for write()Igor Sysoev1-2/+16
2008-09-01fix building by msvc introduced in r2223Igor Sysoev1-1/+1
2008-09-01test conf file size, this fixes OpenBSD's "nginx -c /tmp/" bugIgor Sysoev1-10/+26
2008-08-27quoted too long parameter errorIgor Sysoev1-2/+15
2008-08-26too long parameter errorIgor Sysoev1-8/+20
2008-08-26fix typesIgor Sysoev1-4/+4
2008-06-30-g switchIgor Sysoev1-5/+66
2008-06-25refactor obscure codeIgor Sysoev1-7/+11
2008-06-17*) back out r2040Igor Sysoev1-2/+2
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-04-29ignore glob no match errorIgor Sysoev1-0/+8
2008-03-03included file name must be allocated in pool,Igor Sysoev1-2/+5
because it may be used in error message later
2007-12-09*) now ngx_conf_set_str_array_slot() tests NGX_CONF_UNSET_PTRIgor Sysoev1-1/+1
this fixes fastcgi_catch_stderr segfault introduced in r1453 *) ngx_http_upstream_hide_headers_hash() *) proxy/fastcgi pass_header/hide_header use ngx_http_upstream_hide_headers_hash()
2007-10-09style fix: remove double semicolonsIgor Sysoev1-1/+1
2007-08-31fix typoIgor Sysoev1-1/+1
2007-07-29--sysconfdir=DIRIgor Sysoev1-6/+15
2007-06-05change wordingIgor Sysoev1-3/+3
2007-02-20ngx_log_error() > ngx_conf_log_error()Igor Sysoev1-54/+27
2007-02-20use "goto" instead of indistinct "break"Igor Sysoev1-11/+13
2007-02-20stop on superfluous closing "}"Igor Sysoev1-0/+6
2007-02-14ngx_strcasecmp()/ngx_strncasecmp()Igor Sysoev1-2/+2
2007-01-18ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access)Igor Sysoev1-1/+1
2007-01-07style fixIgor Sysoev1-6/+6
2006-10-02glob support in includeIgor Sysoev1-3/+37
2006-07-07nginx-0.3.53-RELEASE importrelease-0.3.53Igor Sysoev1-0/+31
*) 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-05-11nginx-0.3.46-RELEASE importrelease-0.3.46Igor Sysoev1-9/+44
*) Feature: the "proxy_hide_header", "proxy_pass_header", "fastcgi_hide_header", and "fastcgi_pass_header" directives. *) Change: the "proxy_pass_x_powered_by", "fastcgi_x_powered_by", and "proxy_pass_server" directives were canceled. *) Feature: the "X-Accel-Buffering" response header line is supported in proxy mode. *) Bugfix: the reconfiguration bug and memory leaks in the ngx_http_perl_module.
2006-05-04nginx-0.3.44-RELEASE importrelease-0.3.44Igor Sysoev1-88/+96
*) Feature: the "wait" parameter in the "include" SSI command. *) Feature: the Ukrainian and Byelorussian characters were added to koi-win conversion table. *) Bugfix: in the SSI.
2006-04-05nginx-0.3.36-RELEASE importrelease-0.3.36Igor Sysoev1-3/+16
*) Feature: the ngx_http_addition_filter_module. *) Feature: the "proxy_pass" and "fastcgi_pass" directives may be used inside the "if" block. *) Feature: the "proxy_ignore_client_abort" and "fastcgi_ignore_client_abort" directives. *) Feature: the "$request_completion" variable. *) Feature: the ngx_http_perl_module supports the $r->request_method and $r->remote_addr. *) Feature: the ngx_http_ssi_module supports the "elif" command. *) Bugfix: the "\/" string in the expression of the "if" command of the ngx_http_ssi_module was treated incorrectly. *) Bugfix: in the regular expressions in the "if" command of the ngx_http_ssi_module. *) Bugfix: if the relative path was specified in the "client_body_temp_path", "proxy_temp_path", "fastcgi_temp_path", and "perl_modules" directives, then the directory was used relatively to a current path but not to a server prefix.
2006-02-01nginx-0.3.24-RELEASE importrelease-0.3.24Igor Sysoev1-14/+3
*) Workaround: for bug in FreeBSD kqueue. *) Bugfix: now a response generated by the "post_action" directive is not transferred to a client. *) Bugfix: the memory leaks were occurring if many log files were used. *) Bugfix: the first "proxy_redirect" directive was working inside one location. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start if the many names were used in the "server_name" directives; the bug had appeared in 0.3.18.
2005-12-26nginx-0.3.18-RELEASE importrelease-0.3.18Igor Sysoev1-1/+7
*) Feature: the "server_names" directive supports the ".domain.tld" names. *) Feature: the "server_names" directive uses the hash for the "*.domain.tld" names and more effective hash for usual names. *) Change: the "server_names_hash_max_size" and "server_names_hash_bucket_size" directives. *) Change: the "server_names_hash" and "server_names_hash_threshold" directives were canceled. *) Feature: the "valid_referers" directive uses the hash site names. *) Change: now the "valid_referers" directive checks the site names only without the URI part. *) Bugfix: some ".domain.tld" names incorrectly processed by the ngx_http_map_module. *) Bugfix: segmentation fault was occurred if configuration file did not exist; the bug had appeared in 0.3.12. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start; the bug had appeared in 0.3.16.
2005-12-05nginx-0.3.13-RELEASE importrelease-0.3.13Igor Sysoev1-0/+2
*) Feature: the IMAP/POP3 proxy supports STARTTLS and STLS. *) Bugfix: the IMAP/POP3 proxy did not work with the select, poll, and /dev/poll methods. *) Bugfix: in SSI handling. *) Bugfix: now Solaris sendfilev() is not used to transfer the client request body to FastCGI-server via the unix domain socket. *) Bugfix: the "auth_basic" directive did not disable the authorization; the bug had appeared in 0.3.11.
2005-11-26nginx-0.3.12-RELEASE importrelease-0.3.12Igor Sysoev1-7/+27
*) Security: if nginx was built with the ngx_http_realip_module and the "satisfy_any on" directive was used, then access and authorization directives did not work. The ngx_http_realip_module was not built and is not built by default. *) Change: the "$time_gmt" variable name was changed to "$time_local". *) Change: the "proxy_header_buffer_size" and "fastcgi_header_buffer_size" directives was renamed to the "proxy_buffer_size" and "fastcgi_buffer_size" directives. *) Feature: the ngx_http_memcached_module. *) Feature: the "proxy_buffering" directive. *) Bugfix: the changes in accept mutex handling when the "rtsig" method was used; the bug had appeared in 0.3.0. *) Bugfix: if the client sent the "Transfer-Encoding: chunked" header line, then nginx returns the 411 error. *) Bugfix: if the "auth_basic" directive was inherited from the http level, then the realm in the "WWW-Authenticate" header line was without the "Basic realm" text. *) Bugfix: if the "combined" format was explicitly specified in the "access_log" directive, then the empty lines was written to the log; the bug had appeared in 0.3.8. *) Bugfix: nginx did not run on the sparc platform under any OS except Solaris. *) Bugfix: now it is not necessary to place space between the quoted string and closing bracket in the "if" directive.
2005-10-27nginx-0.3.7-RELEASE importrelease-0.3.7Igor Sysoev1-1/+36
*) Feature: the "access_log" supports the "buffer=" parameter. *) Bugfix: nginx could not be built on platforms different from i386, amd64, sparc, and ppc; the bug had appeared in 0.3.2.
2005-10-19nginx-0.3.3-RELEASE importrelease-0.3.3Igor Sysoev1-1/+1
*) Change: the "bl" and "af" parameters of the "listen" directive was renamed to the "backlog" and "accept_filter". *) Feature: the "rcvbuf" and "sndbuf" parameters of the "listen" directive. *) Change: the "$msec" log parameter does not require now the additional the gettimeofday() system call. *) Feature: the -t switch now tests the "listen" directives. *) Bugfix: if the invalid address was specified in the "listen" directive, then after the -HUP signal nginx left an open socket in the CLOSED state. *) Bugfix: the mime type may be incorrectly set to default value for index file with variable in the name; the bug had appeared in 0.3.0. *) Feature: the "timer_resolution" directive. *) Feature: the millisecond "$upstream_response_time" log parameter. *) Bugfix: a temporary file with client request body now is removed just after the response header was transferred to a client. *) Bugfix: OpenSSL 0.9.6 compatibility. *) Bugfix: the SSL certificate and key file paths could not be relative. *) Bugfix: the "ssl_prefer_server_ciphers" directive did not work in the ngx_imap_ssl_module. *) Bugfix: the "ssl_protocols" directive allowed to specify the single protocol only.
2005-10-12nginx-0.3.2-RELEASE importrelease-0.3.2Igor Sysoev1-1/+1
*) Feature: the Sun Studio 10 C compiler support. *) Feature: the "proxy_upstream_max_fails", "proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and "fastcgi_upstream_fail_timeout" directives.
2005-09-23nginx-0.2.0-RELEASE importrelease-0.2.0Igor Sysoev1-1/+22
*) The pid-file names used during online upgrade was changed and now is not required a manual rename operation. The old master process adds the ".oldbin" suffix to its pid-file and executes a new binary file. The new master process creates usual pid-file without the ".newbin" suffix. If the master process exits, then old master process renames back its pid-file with the ".oldbin" suffix to the pid-file without suffix. *) Change: the "worker_connections" directive, new name of the "connections" directive; now the directive specifies maximum number of connections, but not maximum socket descriptor number. *) Feature: SSL supports the session cache inside one worker process. *) Feature: the "satisfy_any" directive. *) Change: the ngx_http_access_module and ngx_http_auth_basic_module do not run for subrequests. *) Feature: the "worker_rlimit_nofile" and "worker_rlimit_sigpending" directives. *) Bugfix: if all backend using in load-balancing failed after one error, then nginx did not try do connect to them during 60 seconds. *) Bugfix: in IMAP/POP3 command argument parsing. Thanks to Rob Mueller. *) Bugfix: errors while using SSL in IMAP/POP3 proxy. *) Bugfix: errors while using SSI and gzipping. *) Bugfix: the "Expires" and "Cache-Control" header lines were omitted from the 304 responses. Thanks to Alexandr Kukushkin.
2005-09-08nginx-0.1.45-RELEASE importrelease-0.1.45Igor Sysoev1-1/+7
*) Change: the "ssl_engine" directive was canceled in the ngx_http_ssl_module and now is introduced at global level. *) Bugfix: the responses with SSI subrequests did not transferred via SSL connection. *) Various bug fixes in the IMAP/POP3 proxy.
2005-05-23nginx-0.1.33-RELEASE importrelease-0.1.33Igor Sysoev1-1/+1
*) Bugfix: nginx could not be built with the --without-pcre parameter; the bug had appeared in 0.1.29. *) Bugfix: 3, 4, 7, and 8 the "proxy_set_header" directives in one level cause the bus fault on start up. *) Bugfix: the HTTP protocol was specified in the HTTPS redirects. *) Bugfix: if the "rewrite" directive used the captures inside the "if" directive, then the 500 error code was returned.
2005-05-14nginx-0.1.30-RELEASE importrelease-0.1.30Igor Sysoev1-1/+1
*) Bugfix: the worker process may got caught in an endless loop if the SSI was used. *) Bugfix: the response encrypted by SSL may not transferred complete. *) Bugfix: if the length of the response part received at once from proxied or FastCGI server was equal to 500, then nginx returns the 500 response code; in proxy mode the the bug had appeared in 0.1.29 only. *) Bugfix: nginx did not consider the directives with 8 or 9 parameters as invalid. *) Feature: the "return" directive can return the 204 response code. *) Feature: the "ignore_invalid_headers" directive.