-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnetlify.toml
51 lines (43 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
51
[dev]
command = "hugo serve"
targetPort = 1313
port = 8888
publish = "public"
autoLaunch = false
[build.environment]
HUGO_VERSION = "0.141.0"
NODE_VERSION = "18"
[[edge_functions]]
path = "/*"
function = "root"
[[edge_functions]]
function = "webfinger"
path = "/.well-known/webfinger"
[[redirects]]
from = "/robots.txt"
to = "/robots.txt"
status = 200
[[redirects]]
from = "/sitemap.xml"
to = "/sitemap.xml"
status = 200
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "script-src identity.netlify.com insights.msfjarvis.dev msfjarvis.dev 'unsafe-inline'"
Referrer-Policy = 'strict-origin-when-cross-origin'
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = '1; mode=block'
[[headers]]
for = "/admin/*"
[headers.values]
Content-Security-Policy = "script-src identity.netlify.com unpkg.com 'unsafe-inline' 'unsafe-eval'"
Referrer-Policy = 'strict-origin-when-cross-origin'
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = '1; mode=block'
[[headers]]
for = "/pretty-feed-v3.xsl"
[headers.values]
Content-Type = "application/xml; charset=utf-8"