[DHParams] Revert from 4096 to 2048

4096 is a bit overkill most of the time
This commit is contained in:
Alex Thomassen 2020-12-21 16:22:52 +01:00
parent 42ff84d991
commit 138e33f054
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE
2 changed files with 3 additions and 2 deletions

View File

@ -2,4 +2,4 @@
sudo touch /etc/nginx/dhparams.pem
sudo chmod 700 /etc/nginx/dhparams.pem
# 4096 would also work here:
sudo openssl dhparam -out /etc/nginx/dhparams.pem 4096
sudo openssl dhparam -out /etc/nginx/dhparams.pem 2048

View File

@ -22,7 +22,8 @@ curl -L "$GIST/letsencrypt.conf" > "$NGINX/letsencrypt.conf"
# Get the base SSL configuration
curl -L "$GIST/ssl_params.conf" > "$NGINX/ssl_params.conf"
# Get the PHP 7.2 FPM configuration (not enabled by default)
# Get the PHP 7.4 FPM configuration (not enabled by default)
# You also need to install PHP before enabling it.
curl -L "$GIST/phpfpm.conf" > "$NGINX/phpfpm.conf"
# Get the dhparams file generation script, and execute.