how can i rewrite this?

locojohn nginx-forum at nginx.us
Sun Jun 10 10:57:13 UTC 2012


Hi,

Avoid rewrite's:

location ~ ^/([a-z][a-z])([a-z][a-z][a-z])\.jpg$ {
      try_files /$1/$2.jpg $uri;
}

Andrejs

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,227397,227399#msg-227399



More information about the nginx mailing list