botblocker-nginx-settings.conf 987 B

12345678910111213141516171819
  1. # rate limiting rules are for the DDOS filter
  2. # server_names_hash settings allows Nginx Server to load this very large list of domain names and IP addresses into memory.
  3. server_names_hash_bucket_size 256;
  4. server_names_hash_max_size 4096;
  5. variables_hash_max_size 4096;
  6. variables_hash_bucket_size 4096;
  7. limit_req_zone $binary_remote_addr zone=flood:50m rate=90r/s;
  8. limit_conn_zone $binary_remote_addr zone=addr:50m;
  9. # ****************************************************************************
  10. # NOTE: IF you are using a system like Nginx-Proxy from @JWilder
  11. # ****************************************************************************
  12. # Repo URL: https://github.com/jwilder/nginx-proxy
  13. # You will need to comment out the first line here as follows.
  14. # #server_names_hash_bucket_size 128;
  15. # You will also need to modify the nginx.tmpl file to add the default include
  16. # include /etc/nginx/conf.d/*
  17. # ****************************************************************************