fix caseless locations, the bug had been introduced in r3326

This commit is contained in:
Igor Sysoev 2009-12-17 14:25:46 +00:00
parent 8817113d95
commit 733fb74d06

View File

@ -2588,6 +2588,8 @@ ngx_http_core_regex_location(ngx_conf_t *cf, ngx_http_core_loc_conf_t *clcf,
#if (NGX_HAVE_CASELESS_FILESYSTEM)
rc.options = NGX_REGEX_CASELESS;
#else
rc.options = caseless;
#endif
clcf->regex = ngx_http_regex_compile(cf, &rc);