From a833688355c82cb8e849cabd1f85bd5886f592b5 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 18 May 2016 14:45:11 -0400 Subject: [PATCH] Allow users to override their server_names_hash_bucket_size --- plugins/nginx-vhosts/install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/nginx-vhosts/install b/plugins/nginx-vhosts/install index 0308d5e5f..e08840d2d 100755 --- a/plugins/nginx-vhosts/install +++ b/plugins/nginx-vhosts/install @@ -36,7 +36,10 @@ ssl_ciphers EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES: EOF fi -echo 'server_names_hash_bucket_size 512;' >| /etc/nginx/conf.d/server_names_hash_bucket_size.conf +# allow users to override their server_names_hash_bucket_size +if [[ ! -f /etc/nginx/conf.d/server_names_hash_bucket_size.conf ]]; then + echo 'server_names_hash_bucket_size 512;' >| /etc/nginx/conf.d/server_names_hash_bucket_size.conf +fi # revert dokku group changes gpasswd -a dokku adm