Welcome! Log In Create A New Profile

Advanced

Re: try_files and filter modules

Valentin V. Bartenev
February 13, 2012 09:08AM
On Monday 13 February 2012 17:55:35 Reinis Rozitis wrote:
[...]
> 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.
>

It was handled by another location. The last part in the try_files directive
always does internal redirect (to $1/large_$2 in your case, so then it didn't
catch by "location ~ (.*)/small_(.*)").

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

try_files and filter modules

Reinis Rozitis February 13, 2012 07:48AM

Re: try_files and filter modules

Valentin V. Bartenev February 13, 2012 08:38AM

Re: try_files and filter modules

Reinis Rozitis February 13, 2012 08:56AM

Re: try_files and filter modules

Valentin V. Bartenev February 13, 2012 09:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready