Skip to content

Instantly share code, notes, and snippets.

@ageis
Forked from plentz/nginx.conf
Last active January 28, 2025 02:45
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

@pironmind
Copy link

How strong is it?

@juliyvchirkov
Copy link

@pironmind 4096b

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