Last active
January 4, 2018 17:17
-
-
Save philhawksworth/d1deda75c8bc3d025e7d62639f904222 to your computer and use it in GitHub Desktop.
Simple example of a Netlify _headers file (no file extension in the real world)
This file contains hidden or 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
# A path: | |
/assets/* | |
# Headers for that path: | |
Cache-Control: public, max-age=360000 | |
/templates/index.html | |
X-Frame-Options: DENY | |
X-XSS-Protection: 1; mode=block | |
/templates/index2.html | |
X-Frame-Options: SAMEORIGIN | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment