Skip to content

Instantly share code, notes, and snippets.

@tsd-zzz
tsd-zzz / nginx.conf
Last active August 24, 2018 17:01
An example domain configuration for NGINX made for maximum security and to comply with Mozilla Observatory and most HTTP headers. This configuration gives you a 120/100 score, giving an A* rating. This configuration also complies with HSTS preloading.
# FOR THOSE WHO TAKE THIS CONFIG:
#
# You only really need the "server" tab for this, the rest is mostly configured for me.
#
server {
listen your.ip.address.here:443;
server_name brettw.xyz www.brettw.xyz;
root /your/root/directory/public_html;
index index.php index.html index.htm;

Keybase proof

I hereby claim:

  • I am tsd on github.
  • I am tsd (https://keybase.io/tsd) on keybase.
  • I have a public key whose fingerprint is A018 A212 C494 DED8 400D 1306 54E3 FC96 684D 6E5D

To claim this, I am signing this object: