about summary refs log tree commit diff stats
path: root/netlify.toml
blob: 5f43058b406c46f21b93903b7a1d0f4ec96f5909 (plain)
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
27
28
29
30
31
32
33
34
[build]
  publish = "website/public"

[[redirects]]
  from = "/.well-known/openid-configuration"
  to = "https://id.alanpearce.eu/.well-known/openid-configuration"
  status = 302

[[headers]]
  for = "/*"
  [headers.values]
    x-content-type-options = "nosniff"
    x-xss-protection = "1; mode=block"
    referrer-policy = "strict-origin-when-cross-origin"
    strict-transport-security = "max-age=63072000; includeSubDomains; preload"
    cache-control = '''
      max-age=300,
      s-maxage=86400,
      state-while-revalidate
    '''
    content-security-policy = '''
      default-src 'none';
      img-src 'self' https://gc.zgo.at;
      object-src 'none';
      script-src 'self' https://gc.zgo.at;
      style-src
      'sha256-50do9sS3PVRni4sYNWIx1hJuUOU9Y0GeMMwiLf8vmjc='
      'sha256-WIWHIhXqk7qQRekjaVXXydYSpSNixj54s4nqSMlM9Cg=';
      form-action 'none';
      base-uri 'self';
      connect-src https://alanpearce-eu.goatcounter.com/count;
      frame-ancestors 'https://kagi.com';
      require-trusted-types-for "'script'"
'''