Skip to content

Instantly share code, notes, and snippets.

@karimben2019
karimben2019 / nginx.conf
Created February 9, 2023 18:55 — 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