[DHParams] Revert from 4096 to 2048
4096 is a bit overkill most of the time
This commit is contained in:
parent
42ff84d991
commit
138e33f054
|
@ -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
|
3
setup.sh
3
setup.sh
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue