Re: if ($remote_addr ~ and set $white_list for subnets?
I resoved it! out of blocks I add: geo $mark_nocapcha { default 0; 10.10.1.0/241; 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_no
if ($remote_addr ~ and set $white_list for subnets?
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; prox