Created
June 5, 2017 18:48
-
-
Save zooks/11081fa1aa8025533cb453b118d2a973 to your computer and use it in GitHub Desktop.
Close access to the file extensions
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
<FilesMatch "^.*\.(?:pug|jade|cfg|config)$"> | |
Order Deny,Allow | |
Deny from all | |
Allow from 127.0.0.1 | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment