Changes between Initial Version and Version 1 of Ticket #2402
- Timestamp:
- 10/28/22 09:03:36 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2402 – Description
initial v1 3 3 we should change it like this: 4 4 5 \- if (r->phase_handler == index && r->loc_conf == cscf->ctx->loc_conf) { 5 6 {{{ 7 @@ -147,7 +147,7 @@ ngx_http_rewrite_handler(ngx_http_request_t *r) 8 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); 9 index = cmcf->phase_engine.location_rewrite_index; 10 11 - if (r->phase_handler == index && r->loc_conf == cscf->ctx->loc_conf) { 6 12 + if (r->phase_handler >= index && r->loc_conf == cscf->ctx->loc_conf) { 7 13 /* skipping location rewrite phase for server null location */ 8 14 return NGX_DECLINED; 9 15 } 16 17 }}} 18