Welcome! Log In Create A New Profile

Advanced

Re: if ($remote_addr ~ and set $white_list for subnets?

December 28, 2019 07:25AM
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) {
Subject Author Posted

if ($remote_addr ~ and set $white_list for subnets?

antikurjers December 28, 2019 06:42AM

Re: if ($remote_addr ~ and set $white_list for subnets?

antikurjers December 28, 2019 07:25AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready