fix: drop dhparam key size to 2048
4096 takes so long on a very fast machine - 32 core, 64 gb droplet - that most users will begin to believe that it will never complete.
This commit is contained in:
committed by
GitHub
parent
a7c5e74c91
commit
f25f45b67e
@@ -30,7 +30,7 @@ chmod 0440 /etc/sudoers.d/dokku-nginx
|
|||||||
|
|
||||||
# if dhparam.pem has not been created, create it the first time
|
# if dhparam.pem has not been created, create it the first time
|
||||||
if [[ ! -f /etc/nginx/dhparam.pem ]]; then
|
if [[ ! -f /etc/nginx/dhparam.pem ]]; then
|
||||||
openssl dhparam -out /etc/nginx/dhparam.pem 4096
|
openssl dhparam -out /etc/nginx/dhparam.pem 2048
|
||||||
chown root:root /etc/nginx/dhparam.pem
|
chown root:root /etc/nginx/dhparam.pem
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user