UPDATE botblocker-nginx-settings.conf to V1.1 / Notes regarding Nginx-Proxy system from JWilder

This commit is contained in:
Mitchell Krog 2017-11-03 14:22:48 +02:00
parent b982976a98
commit 0c8b6b6347
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994

View file

@ -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/*
# ****************************************************************************