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