Help with rewrite rule

Ilan Berkner ilan at time4learning.com
Mon Jan 2 02:20:23 UTC 2012


I'm trying to rewrite any png files referenced through the fancybox sub
directory to a directory off of the images folder as follows:

rewrite ^/fancybox/(.+\.png)$ /images/fancybox/$1 last;

This is not working, probably b/c my regex is off the mark.  Any
suggestions?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120101/2ec64a51/attachment.html>


More information about the nginx mailing list