2 ms·
It's not a magic. It's just an optimization. Prefixed strings are organized to the radix tree for fast configuration lookup. But the only way to deal with rege
by Vidart 14y ago
It's not a magic. It's just an optimization. Prefixed strings are organized to the radix tree for fast configuration lookup.
But the only way to deal with regexps is to execute them sequentially.
btw, the official doc is here: http://nginx.org/en/docs/http/ngx_http_core_module.html#location http://nginx.org/en/docs/http/ngx_http_core_module.html#loca...