Skip to content

Instantly share code, notes, and snippets.

View hafidzi's full-sized avatar

Hafidzi My hafidzi

View GitHub Profile
@plentz
plentz / nginx.conf
Last active March 28, 2025 17:48
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