diff --git a/HowtoNginx.md b/HowtoNginx.md index 0b914438..7c788ed9 100644 --- a/HowtoNginx.md +++ b/HowtoNginx.md @@ -275,7 +275,8 @@ Si les requĂȘtes viennent d'un proxy HTTP (Varnish par exemple), il faut substit Cela se fait ainsi en s'assurant d'avoir le paquet `nginx-extras` installĂ© : ~~~ -set_real_ip_from 192.0.2.10; # IP du proxy HTTP +set_real_ip_from 192.0.2.10; # IP to trust +set_real_ip_from 10.0.0.0/24; # CIDR to trust real_ip_recursive on; real_ip_header X-Forwarded-For; ~~~