Skip to content

Instantly share code, notes, and snippets.

@ageis
Forked from plentz/nginx.conf
Last active July 31, 2024 11:32
Show Gist options
  • Save ageis/46882d96febef54854ed1baf064ed97a to your computer and use it in GitHub Desktop.
Save ageis/46882d96febef54854ed1baf064ed97a to your computer and use it in GitHub Desktop.
Generating stronger DH parameters for nginx's SSL
# run in the terminal, then set as ssl_dhparam in nginx.conf
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 4096
@developersteve
Copy link

Just make sure you mkdir /etc/nginx/ssl to create the directory before you run it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment