Merge pull request #3354 from dokku/josegonzalez-patch-1

Drop default dhparam key size to 2048
This commit is contained in:
Jose Diaz-Gonzalez
2018-12-27 21:21:41 -05:00
committed by GitHub

View File

@@ -30,7 +30,7 @@ chmod 0440 /etc/sudoers.d/dokku-nginx
# if dhparam.pem has not been created, create it the first time
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
fi