case insensitive

Eire Angel chrisangileri at yahoo.com
Thu Jul 29 10:26:24 MSD 2010


I need to serve images to be case insensitive.
too many of the external links were created using the incorrect case for me to 
just create redirects for them all
I am trying to use : 
location ~* ^.+.(jpg|jpeg|gif|png)$ {
 root              /var/www/my_app/current/public/images;                
access_log        off;
expires           30d;
}

i have also tried using :
location ~* ^/images/$ {}
with the same results.  please help


Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100728/7a38786e/attachment.html>


More information about the nginx mailing list