Segfault in 1.0.5.

Gena Makhomed gmm at csdoc.com
Sat Jul 23 13:49:41 UTC 2011


On 23.07.2011 12:20, Igor Sysoev wrote:

>          location ~ ^/(images|cache|media)/ {
>                  # static
>          }
>
>          location ~ (.+\.php)(?<PATH_INFO>/.+)") {

also

location ~ ^/(images|cache|media)/ {}

for better nginx performance should be rewritten as three "disable
regular expression checks after literal string matching" locations

location ^~ /images/ {}
location ^~ /cache/  {}
location ^~ /media)/ {}

-- 
Best regards,
  Gena



More information about the nginx-devel mailing list