Update http_key_header_module.c
This commit is contained in:
parent
09d9943c7f
commit
b1bfad7080
|
@ -106,7 +106,7 @@ ngx_http_key_header_filter(ngx_http_request_t *r )
|
||||||
{
|
{
|
||||||
if(r->loc_conf ) {
|
if(r->loc_conf ) {
|
||||||
ngx_http_key_header_loc_conf_t *conf = ngx_http_get_module_loc_conf(r, ngx_http_key_header_module);
|
ngx_http_key_header_loc_conf_t *conf = ngx_http_get_module_loc_conf(r, ngx_http_key_header_module);
|
||||||
// enabled cahce enabled
|
// enabled cache enabled
|
||||||
if(conf->enabled && r->cache) {
|
if(conf->enabled && r->cache) {
|
||||||
ngx_table_elt_t *h;
|
ngx_table_elt_t *h;
|
||||||
h = ngx_list_push(&r->headers_out.headers);
|
h = ngx_list_push(&r->headers_out.headers);
|
||||||
|
|
Loading…
Reference in New Issue