From 0c8b6b63475a8f9706c3938b7865e7af39b530de Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Fri, 3 Nov 2017 14:22:48 +0200 Subject: [PATCH] UPDATE botblocker-nginx-settings.conf to V1.1 / Notes regarding Nginx-Proxy system from JWilder --- conf.d/botblocker-nginx-settings.conf | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/conf.d/botblocker-nginx-settings.conf b/conf.d/botblocker-nginx-settings.conf index 6f7052bf5..f56e9a62a 100644 --- a/conf.d/botblocker-nginx-settings.conf +++ b/conf.d/botblocker-nginx-settings.conf @@ -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; limit_req_zone $binary_remote_addr zone=flood:50m rate=90r/s; -limit_conn_zone $binary_remote_addr zone=addr:50m; \ No newline at end of file +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/* +# ****************************************************************************