Welcome! Log In Create A New Profile

Advanced

Re: Satistfy any not working as expected

May 19, 2015 02:20PM
Hi Maxim,

Thanks for your answer. I'm actually using a proper URI in the auth_request parameter and the PHP script works fine (https://github.com/Arno0x/TwoFactorAuth), my example was dumb.

For the records, here's what I did to make it work exactly as I expect: simply remove the "deny all;" statement.

As a result :
- Any local network IP gets a straight access
- Any other IP has to go through the auth_request

This makes sense to me as a "satisfy any" coupled with a "deny all;" would always match "all" and refuse access.

Not sure why all configuration examples we can find on the web mention the "deny all;" statement, but this fails for me.

By the way, many thanks for all the work done on Nginx !

Cheers,
Arno
Subject Author Posted

Satistfy any not working as expected

Arno0x0x May 18, 2015 04:48AM

Re: Satistfy any not working as expected

Maxim Dounin May 18, 2015 08:46AM

Re: Satistfy any not working as expected

Arno0x0x May 19, 2015 02:20PM

Re: Satistfy any not working as expected

Maxim Dounin May 19, 2015 03:18PM

Re: Satistfy any not working as expected

Arno0x0x May 20, 2015 01:12PM

Re: Satistfy any not working as expected

Maxim Dounin May 20, 2015 02:46PM

Re: Satistfy any not working as expected

Arno0x0x May 20, 2015 03:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready