Combination Auth and IP allow

Igor Sysoev igor at sysoev.ru
Thu Apr 7 08:37:07 MSD 2011


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 Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list