-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
27 lines (23 loc) · 1.82 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
# Global settings applied to the whole site.
[build]
publish = "public"
command = "hugo"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --baseURL $DEPLOY_PRIME_URL"
# --buildDrafts --buildFuture might be useful one day?
# Branch Deploy context: All deploys that are not in
# an active Deploy Preview will inherit these settings.
[context.branch-deploy]
command = "hugo --baseURL $DEPLOY_PRIME_URL"
# Hugo (2019) doesn't allow per-environment absolute URLs (baseURL) in
# content (markdown) so we must load some content from the public
# https://d33wubrfki0l68.cloudfront.net domain :-(
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'none'; script-src 'self' 'sha256-svElFNeOiX8mlTg19mFrsOtfgSqrrt+m5PRwpNsIgjE=' 'sha256-WL772tMdELUqvAXtkiPf93fpTZhacrqbAFwncj6xFdM=' 'sha256-yTj91RmX+1fw8Odek3Y7Ligw87MyM5bUok++SactJrU=' 'sha256-1Pwj9hbSkZS0R5bkDcWktduzbQtkvl6Ah6SSf4zoBbU=' 'sha256-2ulKA1SaHXH/ktno4Gyl+Bmf3E9mXeT1DqAP1+LxW0w=' 'sha256-0C7mBFjJJVH+U0RypUzYNpR1c0T887pGc8RrdEoDvGs=' https://cdn.transifex.com https://matomo.kee.pm/js/ 'sha256-UyAYEXxpLjYazOyRK+kMNHI+tYmcVuyPPBbsI1fDKK0=' 'sha256-IUedM54au1WjwPpMH21oYpiOHS9kO3sR/FjCP8jehDg='; connect-src 'self' https://clsrv.transifex.com/; img-src 'self' data: https://matomo.kee.pm/js/ https://d33wubrfki0l68.cloudfront.net; style-src 'self' 'unsafe-inline' https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css; font-src 'self' https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/fonts/; frame-ancestors 'none'; child-src https://rid.kee.pm/; frame-src https://rid.kee.pm/; report-uri https://keevault.report-uri.com/r/d/csp/enforce"
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
X-Xss-Protection = "1; mode=block; report=https://keevault.report-uri.com/r/d/xss/enforce"