-
Notifications
You must be signed in to change notification settings - Fork 5
/
netlify.toml
42 lines (36 loc) · 960 Bytes
/
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
[[headers]]
for = "/*"
[headers.values]
X-Content-Type-Options = "nosniff"
Content-Security-Policy = """
default-src 'self';
frame-ancestors 'self';
style-src-elem 'self' 'unsafe-inline';
"""
Cross-Origin-Resource-Policy = "same-origin"
Referrer-Policy = "strict-origin-when-cross-origin"
[[headers]]
for = "*.avif"
[headers.values]
Content-Type = "image/avif"
Content-Disposition = "inline"
[[headers]]
for = "/sw.js"
[headers.values]
cache-control = "max-age=0,no-cache,no-store,must-revalidate"
[[redirects]]
from = "/talks/*"
to = "https://mefody.github.io/talks/:splat"
status = 301
[[plugins]]
package = "./plugins/webmention-cache"
[[plugins]]
package = "netlify-plugin-webmentions"
[plugins.inputs]
baseUrl = "https://mefody.dev"
feedPath = "/feed/rss.xml"
limit = 3
[[plugins]]
package = "netlify-plugin-cache"
[plugins.inputs]
paths = [ ".cache" ]