Ответ satisfy any; allow 10.0.0.0/8; deny all; auth_basic "Restricted"; auth_basic_user_file /etc/nginx/.pass; Posted at Nginx Forum: https://forum.nginx.org/read.php?21,272677,272682#msg-272682