mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 04:52:25 +00:00
fix caseless locations, the bug had been introduced in r3326
This commit is contained in:
parent
8817113d95
commit
733fb74d06
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue