Setting expires header bypasses app server
nginx-forum at nginx.us
Thu Apr 2 21:41:26 MSD 2009
> It's because it is matching that regexp first.
> You could do your if (-f ) check inside of there
> and it would probably
> work, but that's kind of messy.
I am doing a -f check in the location. Still doesn't work as I expect it to.
Could you provide an example please?
> I'm sure Igor can
> post and give you a
> much cleaner way to do the entire thing.
I hope so. :-) I still haven't got it working.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,700,755#msg-755
More information about the nginx