Add security headers

This commit is contained in:
Alexander Zeilmann
2021-12-22 02:12:44 +01:00
parent a54b412252
commit 1eea3e59e1
3 changed files with 66 additions and 3 deletions
+4 -1
View File
@@ -58,6 +58,7 @@ I wanted it to be nearly as feature-rich as popular blogging templates like [bea
- Newsletter component with support for mailchimp, buttondown, convertkit and klaviyo
- Supports [giscus](https://github.com/laymonage/giscus), [utterances](https://github.com/utterance/utterances) or disqus
- Projects page
- Preconfigured security headers
- SEO friendly with RSS feed, sitemaps and more!
## Sample posts
@@ -134,7 +135,9 @@ You can start editing the page by modifying `pages/index.js`. The page auto-upda
`layouts` - main templates used in pages.
`pages` - pages to route to. Read the [Next.js documentation](https://nextjs.org/docs) for more information
`pages` - pages to route to. Read the [Next.js documentation](https://nextjs.org/docs) for more information.
`next.config.js` - configuration related to Next.js. You need to adapt the Content Security Policy if you want to load scripts, images etc. from other domains.
## Post