nginx parse var in if file exist statement error?
est
nginx-forum at nginx.us
Thu Nov 3 01:24:08 UTC 2011
Oh thanks very much guys. try_files worked well. I tried using try_files
before, but mistakenly wrote it as something like this
try_files dump/$1-s.jpg dump/$1-s.png 404;
The correct working line should be like this
try_files /dump/$1-s.jpg /dump/$1-s.png =404;
And I didn't expect IF is evil. Suprise!
Thanks again.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,217683,217730#msg-217730
More information about the nginx
mailing list