Skip to content

Instantly share code, notes, and snippets.

@ptrojanowski
ptrojanowski / nginx.conf
Created February 1, 2019 15:16 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
### Keybase proof
I hereby claim:
* I am ptrojanowski on github.
* I am paul_trojanowski (https://keybase.io/paul_trojanowski) on keybase.
* I have a public key ASCH1Jhgke5KgynojSAdQqry8-w_VsBbW5yGD1BUdPVRygo
To claim this, I am signing this object: