Keeping your Nginx limit_* Anti-DDoS behind CloudFlare's servers

c0nw0nk nginx-forum at forum.nginx.org
Tue Sep 13 12:07:18 UTC 2016


Reinis Rozitis Wrote:
-------------------------------------------------------
> > I just found the following :
> >
> https://books.google.co.uk/books?id=ZO09CgAAQBAJ&pg=PA96&lpg=PA96&dq=$
> binary_
> 
> > limit_req_zone $binary_http_cf_connecting_ip zone=one:10m
> rate=30r/m;
> > limit_conn_zone $binary_http_cf_connecting_ip zone=addr:10m;
> 
> 
> There is no such concept of prepending $binary_* to anything.
> 
> $binary_remote_addr is just a specific nginx variable ( 
> http://nginx.org/en/docs/http/ngx_http_core_module.html#variables )
> 
> 
> rr 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

But that book says it is to reduce the memory footprint  ?

Even other sources such as this for example :
http://serverfault.com/a/487473

Say not using it would increase memory I would rather have low memory impact
especially in a scenario where there are lots of requests that will quickly
fill up the memory the less it uses and more memory available the better.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269502,269516#msg-269516



More information about the nginx mailing list