-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_headers
More file actions
23 lines (23 loc) · 1.16 KB
/
Copy path_headers
File metadata and controls
23 lines (23 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Cloudflare Pages headers. The catalog and the keyring are polled by hosts,
# a short cache keeps revocations moving; schemas change with releases only.
# The pages show text from plugin authors, so they run no inline script and
# load nothing but their own files, https images and the Cloudflare Web
# Analytics beacon that Pages injects. The icons come from plugin packages, an
# SVG opened on its own runs nothing either.
/*
Content-Security-Policy: default-src 'none'; script-src 'self' https://static.cloudflareinsights.com; connect-src 'self' https://cloudflareinsights.com; style-src 'self'; img-src 'self' https:; base-uri 'none'; form-action 'none'; frame-ancestors 'none'
Referrer-Policy: strict-origin-when-cross-origin
X-Content-Type-Options: nosniff
/v1/*
Cache-Control: public, max-age=300
X-Content-Type-Options: nosniff
/v1/icons/*
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
/v1/*.minisig
Content-Type: text/plain; charset=utf-8
/assets/*
Cache-Control: public, max-age=86400
X-Content-Type-Options: nosniff
/schema/*
Cache-Control: public, max-age=86400
Content-Type: application/schema+json; charset=utf-8