Skip to content

Instantly share code, notes, and snippets.

View eamon55's full-sized avatar

Eamon eamon55

View GitHub Profile
@eamon55
eamon55 / wp-secure.conf
Created December 13, 2017 17:12 — forked from ethanpil/wp-secure.conf
Wordpress Security for NginX
# wp-secure.conf
#
#
# This file includes common security considerations for wordpress using nginx.
#
# The goal is to block actions which are usually dangerous to wordpress.
# Additionally, we block direct access to PHP files and folders which should not
# be accessed directly from a browser.
#
# Also have included exceptions for plugins that are known to require this access.