Combination Auth and IP allow

Hi,

i need complex configuration “vhost” allow for internal IP (10.x.x.x)
without http auth or any other IP with http auth.

how to make it?

Posted at Nginx Forum:

On Wed, Apr 06, 2011 at 10:17:22PM -0400, vrtak-cz wrote:

Hi,

i need complex configuration “vhost” allow for internal IP (10.x.x.x)
without http auth or any other IP with http auth.

how to make it?

allow 10.x.x.x;
deny all;
auth_basic …
satisfy any;


Igor S.
http://sysoev.ru/en/

no this is not solve my problem… i need allow access from local
network (10.x.x.x) WITHOUT http auth and allow access from other IPs
WITH http auth

Posted at Nginx Forum:

On Thu, Apr 07, 2011 at 12:41:29AM -0400, vrtak-cz wrote:

no this is not solve my problem… i need allow access from local
network (10.x.x.x) WITHOUT http auth and allow access from other IPs
WITH http auth

The key directive is “satisfy any|all”.


Igor S.
http://sysoev.ru/en/

yaj thanx

Posted at Nginx Forum: