-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
netlify.toml
49 lines (41 loc) · 1.51 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
[build]
publish = "public"
command = "hugo --minify --verbose --enableGitInfo"
[context.production.environment]
HUGO_VERSION = "0.111.2"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "git submodule update --rebase --remote && hugo --verbose --minify --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.111.2"
HUGO_ENV = "production"
[context.deploy-preview]
command = "git submodule update --rebase --remote && hugo -DF --verbose --enableGitInfo"
[context.deploy-preview.environment]
HUGO_VERSION = "0.111.2"
# Skip all post processing in deploy previews,
# ignoring any other settings
[context.deploy-preview.processing]
skip_processing = true
[context.branch-deploy]
command = "git submodule update --rebase --remote && hugo -DF --verbose --enableGitInfo"
[context.branch-deploy.environment]
HUGO_VERSION = "0.111.2"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
[[redirects]]
from = "https://devopsish.netlify.app/*"
to = "https://devopsish.com/:splat"
status = 301
force = true
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = 'https://devopsish.com'
Permissions-Policy = 'accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=(), interest-cohort=()'
Referrer-Policy = 'no-referrer-when-downgrade'
Strict-Transport-Security = 'max-age=63072000; includeSubDomains; preload'
X-Content-Type-Options = 'nosniff'
X-Frame-Options = 'DENY'
X-XSS-Protection = '1; mode=block'