#geo $allowed_clients { # default 0; # 192.168.1.0/24 1; # 188.26.227.57/32 1; #} map $remote_addr $allowed_clients { default 0; 127.0.0.1 1; 192.168.1.0/24 1; 188.26.227.57 1; }