comparison src/http/modules/ngx_http_proxy_module.c @ 256:2e9c57a5e50a NGINX_0_4_13

nginx 0.4.13 *) Feature: the "proxy_pass" directive may be used inside the "limit_except" block. *) Feature: the "limit_except" directive supports all WebDAV methods. *) Bugfix: if the "add_before_body" directive was used without the "add_after_body" directive, then an response did not transferred complete. *) Bugfix: a large request body did not receive if the epoll method and the deferred accept() were used. *) Bugfix: a charset could not be set for ngx_http_autoindex_module responses; bug appeared in 0.3.50. *) Bugfix: the "[alert] zero size buf" error when FastCGI server was used; *) Bugfix: the --group= configuration parameter was ignored. Thanks to Thomas Moschny. *) Bugfix: the 50th subrequest in SSI response did not work; bug appeared in 0.3.50.
author Igor Sysoev <http://sysoev.ru>
date Wed, 15 Nov 2006 00:00:00 +0300
parents 644510700914
children 0effe91f6083
comparison
equal deleted inserted replaced
255:a13bad126e69 256:2e9c57a5e50a
133 133
134 134
135 static ngx_command_t ngx_http_proxy_commands[] = { 135 static ngx_command_t ngx_http_proxy_commands[] = {
136 136
137 { ngx_string("proxy_pass"), 137 { ngx_string("proxy_pass"),
138 NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1, 138 NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_HTTP_LMT_CONF|NGX_CONF_TAKE1,
139 ngx_http_proxy_pass, 139 ngx_http_proxy_pass,
140 NGX_HTTP_LOC_CONF_OFFSET, 140 NGX_HTTP_LOC_CONF_OFFSET,
141 0, 141 0,
142 NULL }, 142 NULL },
143 143
2205 2205
2206 if (clcf->regex || clcf->noname) { 2206 if (clcf->regex || clcf->noname) {
2207 if (plcf->upstream.uri.len) { 2207 if (plcf->upstream.uri.len) {
2208 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 2208 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
2209 "\"proxy_pass\" may not have URI part in " 2209 "\"proxy_pass\" may not have URI part in "
2210 "location given by regular expression or " 2210 "location given by regular expression, "
2211 "inside the \"if\" statement"); 2211 "or inside the \"if\" statement, "
2212 "or inside the \"limit_except\" block");
2212 return NGX_CONF_ERROR; 2213 return NGX_CONF_ERROR;
2213 } 2214 }
2214 2215
2215 plcf->upstream.location.len = 0; 2216 plcf->upstream.location.len = 0;
2216 } 2217 }