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#loca...