Welcome! Log In Create A New Profile

Advanced

case insensitive

Eire Angel
July 29, 2010 02:38AM
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_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

case insensitive

Eire Angel July 29, 2010 02:38AM

Re: case insensitive

Igor Sysoev July 29, 2010 02:54AM

Re: case insensitive

Boris Dolgov July 29, 2010 03:58AM

Re: case insensitive

Igor Sysoev July 29, 2010 04:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 312
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready