-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
50 lines (46 loc) · 1.1 KB
/
netlify.toml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# WWW
[[redirects]]
from = "/www.chrisfinazzo.com"
to = "/chrisfinazzo.com"
status = 301
force = false
# Netlify
[[redirects]]
from = "https://relaxed-meninsky-6eca95.netlify.com/*"
to = "https://chrisfinazzo.com/"
status = 301
force = false
# 404
[[redirects]]
from = "*"
to = "/404"
status = 404
[[plugins]]
package = "netlify-plugin-webmentions"
[plugins.inputs]
baseUrl = "https://chrisfinazzo.com"
feedPath = "/notes-rss.xml"
limit = 1
[[headers]]
for = "/*"
[headers.values]
Cache-Control = "no-transform"
Permissions-Policy = "interest-cohort=()"
Content-Security-Policy-Report-Only = '''
default-src 'none';
script-src 'self';
style-src 'self';
base-uri 'self';
object-src 'none';
connect-src 'self';
font-src 'self';
frame-src https://giphy.com;
img-src https: 'self' https://imgs.xkcd.com;
manifest-src 'self';
media-src 'self';
worker-src 'self'; '''
Upgrade-Insecure-Requests = "1"
Referrer-Policy = "same-origin"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"