diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-12-17 14:25:46 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-12-17 14:25:46 +0000 |
commit | 733fb74d064464dc363ec480f65ef5693182a42d (patch) | |
tree | 6de48c3f58113d5352c7364cad85d37273fc36bc /src/http/ngx_http_core_module.c | |
parent | 8817113d95f8cb937dddcd2cd60f43c0a63398ff (diff) | |
download | nginx-733fb74d064464dc363ec480f65ef5693182a42d.tar.gz nginx-733fb74d064464dc363ec480f65ef5693182a42d.zip |
fix caseless locations, the bug had been introduced in r3326
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r-- | src/http/ngx_http_core_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index e05487ee2..edd294fed 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -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); |