Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: clarify netlify integration details #105

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,22 @@ export default defineConfig({
`}
/>

<Aside type='caution'>
As of today, the support for headers generation on static pages is limited to
the `_headers` file that Netlify reads from the deploy directory (typically
`dist/`).

Support for other methods, such as the `netlify.toml` file is not yet available.
</Aside>

<Aside type='tip'>
To see how to configure CSP headers for your dynamic content, check the page
[Content-Security-Policy (CSP)](/guides/security-headers/content-security-policy/).
</Aside>

<Aside type='tip'>
To learn more about how to configure headers for static content on Netlify,
see their official documentation:
- [Netlify: Headers](https://docs.netlify.com/routing/headers)
- [Netlify: File Based Configuration (Headers)](https://docs.netlify.com/configure-builds/file-based-configuration/#headers)
</Aside>
Loading