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:
http://forum.nginx.org/read.php?2,188978,188978#msg-188978

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:
http://forum.nginx.org/read.php?2,188978,188999#msg-188999

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:
http://forum.nginx.org/read.php?2,188978,189127#msg-189127

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs