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

Drop default dhparam key size to 2048
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2018-12-27 21:21:41 -05:00
commit 86cc15d285
1 file changed
+1 -1
+1 -1
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 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