Mercurial > hg > nginx
diff src/http/modules/ngx_http_proxy_module.c @ 3976:215fe9223419
update r3945 with more descriptive error message
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 29 Jul 2011 15:33:03 +0000 |
parents | f4c49c9e4bb5 |
children | 2527cdb8d31f |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -1707,6 +1707,8 @@ ngx_http_proxy_create_loc_conf(ngx_conf_ conf->headers_hash_max_size = NGX_CONF_UNSET_UINT; conf->headers_hash_bucket_size = NGX_CONF_UNSET_UINT; + ngx_str_set(&conf->upstream.module, "proxy"); + return conf; }