Skip to content

Instantly share code, notes, and snippets.

View prakash-gamit's full-sized avatar
:octocat:

Prakash Gamit prakash-gamit

:octocat:
View GitHub Profile
@prakash-gamit
prakash-gamit / nginx.conf
Created February 6, 2018 05:20 — 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
Short (50 chars or less) summary of changes
More detailed explanatory text, if necessary. Wrap it to
about 72 characters or so. In some contexts, the first
line is treated as the subject of an email and the rest of
the text as the body. The blank line separating the
summary from the body is critical (unless you omit the body
entirely); tools like rebase can get confused if you run
the two together.