try_files and filter modules

Reinis Rozitis r at roze.lv
Mon Feb 13 13:55:35 UTC 2012


>      try_files $uri $1/medium_$2 $1/large_$2 =404;

Hmm, thx the '= 404' is all that I missed.

p.s. the files indeed didn't exist (expected) but the request always returned the source/original file (without cropping it), but 
now with the additional 404 it works nicely.

rr 



More information about the nginx mailing list