diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-07-29 15:33:03 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-07-29 15:33:03 +0000 |
commit | c2f852c2603558b744928871a40f14fb950742ed (patch) | |
tree | 37864a655186b619dd3f07442e7255ae6a56e3d6 /src/http/modules/ngx_http_proxy_module.c | |
parent | 26b94d71738b3cc48ddced35c984941d2f5bf68e (diff) | |
download | nginx-c2f852c2603558b744928871a40f14fb950742ed.tar.gz nginx-c2f852c2603558b744928871a40f14fb950742ed.zip |
update r3945 with more descriptive error message
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
-rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 214fe6a26..147422af8 100644 --- 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_t *cf) 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; } |