I resoved it!

out of blocks I add:

geo $mark_nocapcha {
    default         0;
    10.10.1.0/24    1;
    10.20.1.0/24     1;
    10.30.33.0/24     1;
    10.30.14.0/24     1;
}


ANd add/substitute  in  server block
if ($remote_addr ~ "(10.10.1.128)|(10.20.1.53)|(10.30.14.56)") {
to
if ($mark_nocapcha) {

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,286617,286618#msg-286618

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to