diff --git a/.dev-tools/test_units/botblocker-nginx-settings.conf b/.dev-tools/test_units/botblocker-nginx-settings.conf new file mode 100644 index 000000000..883bc7688 --- /dev/null +++ b/.dev-tools/test_units/botblocker-nginx-settings.conf @@ -0,0 +1,31 @@ +############################################################################## +# _ __ _ # +# / |/ /__ _(_)__ __ __ # +# / / _ `/ / _ \\ \ / # +# /_/|_/\_, /_/_//_/_\_\ # +# __/___/ __ ___ __ ___ __ __ # +# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ # +# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ # +# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ # +# # +############################################################################## + +# Version 1.1 +# ! new directives also to be added to include_filelist.txt ! # + +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/* +# ****************************************************************************