-
Notifications
You must be signed in to change notification settings - Fork 3
/
netlify.toml
33 lines (31 loc) · 1.3 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
[build]
command = "hugo --minify --baseURL $URL"
[build.environment]
HUGO_VERSION="0.110.0"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' www.google-analytics.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: www.gravatar.com www.google-analytics.com stats.g.doubleclick.net www.google.com; connect-src 'self' www.google-analytics.com; worker-src 'self' www.google-analytics.com; frame-src www.youtube-nocookie.com; object-src 'none'"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Cache-Control = '''
max-age=2592000,
public
'''
Strict-Transport-Security = "max-age=2592000"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Feature-Policy = "microphone 'none'; geolocation 'none'; ambient-light-sensor 'none'; accelerometer 'none'; camera 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; payment 'none'; usb 'none'; vr 'none'"
Access-Control-Allow-Origin = "null"
[[headers]]
for = '/*.(jpg|png|svg|mov|webp|avif)'
[headers.values]
Cache-Control = '''
max-age=31536000,
public'''
[build.processing]
skip_processing = false
[build.processing.js]
minify = true
[functions]
directory = "api"