support for location url matching modifiers

http://nginx.org/en/docs/http/ngx_http_core_module.html#location