case insensitive

Eire Angel chrisangileri at
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list