Case insensitive location

Callumpy nginx-forum at
Fri Apr 11 11:59:42 UTC 2014

I'm still having no luck with it.

As I said before, when I use location ~* ^/card/, it just 404s all the time
unless I disable my cache.

Here is my cache code, I have no idea why it does this.

# Cache setup.
        location ~*  \.(jpg|jpeg|png|gif|ico|css|xml|js|woff)$ {
                expires 30d;
                root /home/site/public;
                add_header Pragma public;
                add_header Cache-Control "public, must-revalidate,

Posted at Nginx Forum:,249105,249224#msg-249224

More information about the nginx mailing list