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