mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 12:22:41 +08:00
fix caseless locations, the bug had been introduced in r3326
This commit is contained in:
parent
8817113d95
commit
733fb74d06
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user