id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,uname,nginx_version 167,order of locations with regular expressions,openid.yandex.ru/dyadyamax,somebody,"steps: 1. setup 2 rules: ~~~~~ location ~ /\. { deny all; } location ~* \.(php|pl|py)$ { include php-fpm_proxy; } ~~~~~ 2. send request ""http://my_host/.z/foo"" 3. send request ""http://my_host/.z/index.php"" expect to happen: both request result = 403 forbidden actually happens: 2. = 403 forbidden 3. result of executed script But your help has: ""Then regular expressions are checked, in the order of their appearance in a configuration file. A search of regular expressions terminates on the first match, and the corresponding configuration is used."" http://nginx.org/en/docs/http/ngx_http_core_module.html#location",defect,closed,major,,nginx-core,1.2.x,invalid,location,,,"built by gcc 4.3.2 (Debian 4.3.2-1.1) TLS SNI support enabled configure arguments: --prefix=/opt/nginx --with-http_ssl_module --with-http_gzip_static_module --with-openssl=/usr/src/openssl/openssl-1.0.1c"