Илья Шипицин
September 27, 2019 07:32AM
map $http_x_forward_for $temp {
default '';
~regex1 $http_x_forward_for;
}

map $temp $final {
default '';
~regex2 1;
}

if ($final = 1) {
return 403;
}



чт, 26 сент. 2019 г. в 15:49, classic85 <nginx-forum@forum.nginx.org>:

> а можно пример? пожалуйста слева направо да
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?21,285707,285711#msg-285711
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

nginx http_x_forwarded_for blocking ip

classic85 September 26, 2019 06:06AM

Re: nginx http_x_forwarded_for blocking ip

Илья Шипицин September 26, 2019 06:32AM

Re: nginx http_x_forwarded_for blocking ip

classic85 September 26, 2019 06:49AM

Re: nginx http_x_forwarded_for blocking ip

Илья Шипицин September 27, 2019 07:32AM

Re: nginx http_x_forwarded_for blocking ip

Evgeniy Berdnikov September 26, 2019 07:00AM

Re: nginx http_x_forwarded_for blocking ip

classic85 September 26, 2019 07:01AM

Re: nginx http_x_forwarded_for blocking ip

Slawa Olhovchenkov September 26, 2019 08:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
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