~gpanders/gpanders.com

ref: ff651fa9483a59cccc59d78d1a78d2b946bb552f gpanders.com/netlify.toml -rw-r--r-- 701 bytes
ff651fa9Gregory Anders Simplify CSP 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[build]
  publish = "public"
  command = "hugo --minify"

[[redirects]]
  from = "/posts/*"
  to = "/blog/:splat"
  status = 301

[[headers]]
  for = "/.well-known/matrix/*"
  [headers.values]
    Content-Type = "application/json"
    Access-Control-Allow-Origin = "*"

[[headers]]
  for = "/*"
  [headers.values]
    Content-Security-Policy = "default-src 'self'; script-src 'self' 'sha256-8S1XWfApyYBGTRzR9CQ2UBCcYX34oUCUVY/1zndCEd4='"
    X-Content-Type-Options = "nosniff"
    X-Frame-Options = "SAMEORIGIN"

[[headers]]
  for = "/blog/introducing-ijq/"
  [headers.values]
    Content-Security-Policy = "default-src 'self'; script-src 'self' 'sha256-8S1XWfApyYBGTRzR9CQ2UBCcYX34oUCUVY/1zndCEd4='"