mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
UPDATE botblocker-nginx-settings.conf to V1.1 / Notes regarding Nginx-Proxy system from JWilder
This commit is contained in:
parent
b982976a98
commit
0c8b6b6347
1 changed files with 13 additions and 2 deletions
|
@ -10,8 +10,19 @@
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
|
# Version 1.1
|
||||||
|
|
||||||
server_names_hash_bucket_size 64;
|
server_names_hash_bucket_size 128;
|
||||||
server_names_hash_max_size 4096;
|
server_names_hash_max_size 4096;
|
||||||
limit_req_zone $binary_remote_addr zone=flood:50m rate=90r/s;
|
limit_req_zone $binary_remote_addr zone=flood:50m rate=90r/s;
|
||||||
limit_conn_zone $binary_remote_addr zone=addr:50m;
|
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/*
|
||||||
|
# ****************************************************************************
|
||||||
|
|
Loading…
Add table
Reference in a new issue