Created
May 26, 2017 08:00
-
-
Save zooks/c67cbcabf8aa9cb9bc946c6d813e2a8e to your computer and use it in GitHub Desktop.
WordPress nginx.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /blog/ { | |
try_files $uri $uri/ /blog/index.php?$args; | |
error_page 404 /404.html; | |
} | |
location ~* "/*\.(conf)$" { | |
deny all; | |
return 404; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment