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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel