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

c0nw0nk nginx-forum at forum.nginx.org
Tue Sep 13 12:17:21 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


I think i understand and am with you now i can't use $binary infront of any
request other than remote_addr because nginx does not support compressing
others.

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



More information about the nginx mailing list