unexpected location regex behaviour

Peter Molnar hello at petermolnar.eu
Wed Mar 9 14:31:11 UTC 2016

On 03/09/2016 01:24 PM, Francis Daly wrote:
> On Wed, Mar 09, 2016 at 11:31:08AM +0000, Peter Molnar wrote:
> Hi there,
>> I'm facing some strange, unexpected regex behaviour in my setup.
> I think the answer is at http://nginx.org/r/rewrite and the "last" flag.

You were right about this. If I replace the 'last' with 'break' in the
@filesmagic block, it starts working as expected.

I somehow mistaken the behaviour of last for the behaviour of break in
this case.

Thank you!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160309/46f32fc4/attachment.bin>

More information about the nginx mailing list