Klaus Demo nginx / b078075
after URI was rewritten location configuration should be to a server's null one Igor Sysoev 14 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
859859 ngx_http_core_post_rewrite_phase(ngx_http_request_t *r,
860860 ngx_http_phase_handler_t *ph)
861861 {
862 ngx_http_core_srv_conf_t *cscf;
863
862864 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
863865 "post rewrite phase: %ui", r->phase_handler);
864866
889891 }
890892
891893 r->phase_handler = ph->next;
894
895 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module);
896 r->loc_conf = cscf->ctx->loc_conf;
892897
893898 return NGX_AGAIN;
894899 }