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) {by antikurjers - Nginx Mailing List - English
Hi! I want to mark same subnets to as $white_list. I currently use: # urdas web location / { if ($remote_addr ~ "(10.10.1.128)|(10.20.1.53)|(10.30.14.56)") { set $white_list a712ba9579080e61cd89955a2cb837bf; } proxy_pass http://10.10.1.53:30081; proxy_set_header WhiteList $white_list; proxy_set_header Host $host;by antikurjers - Nginx Mailing List - English