server {
listen *:80;
server_name site.local;
auth_basic "site.local";
auth_basic_user_file /www/passw;
allow 127.0.0.0/16;
allow 192.168.140.0/24;
allow 192.168.142.0/24;
allow 192.168.144.0/24;
deny all;
satisfy any;
}