-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
22 lines (19 loc) · 919 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
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
command = "bundle exec nanoc compile --env=prod && bundle exec ruby post_process.rb && bundle exec nanoc check mixed_content stale ilinks"
publish = "output/"
[build.environment]
RUBY_VERSION = "3.2.3"
[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/*"
[headers.values]
Referrer-Policy = "strict-origin-when-cross-origin"
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"