Add Cloudflare Pages _headers #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pawel/cloudflare-headers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The site is served with only Cloudflare's default headers: no security headers, previews can end up in search results, and
gpg.ascdownloads instead of opening as text.What
data:images becausefavicon.svgembeds its picture as one.X-Clacks-Overhead: GNU Terry Pratchett.X-Robots-Tag: noindexon*.pages.devhostnames only.text/plainfor/gpg.asc,application/rss+xmlfor/feed.xml.Risk
wrangler pages dev. On the preview, confirm the favicon renders in Firefox/Chrome/Safari, Content-Type isn't doubled ongpg.asc/feed.xml, and the preview host getsnoindex.Preview: https://pawel-cloudflare-headers.light-no-fire.pages.dev
Alias: https://9b0e0043.light-no-fire.pages.dev
Commit:
c5443e571699afb22e7d8c91f609c9ea2d0d4f14