Skip to content

Instantly share code, notes, and snippets.

@after30years
after30years / nginx.conf
Created April 30, 2025 08:40 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048