-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathnetlify.toml
83 lines (71 loc) · 1.89 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[[plugins]]
package="netlify-plugin-chromium"
[[plugins]]
package = "netlify-plugin-cache"
[plugins.inputs]
paths = [".bridgetown-cache", ".bridgetown-webpack", "output"]
[build]
command = "yarn deploy && ./bin/netlify.sh"
publish = "output"
[build.environment]
NODE_ENV="development"
NODE_VERSION = "12"
BRIDGETOWN_ENV = "production"
[build.processing]
skip_processing = false
[build.processing.css]
bundle = false
minify = false
[build.processing.js]
bundle = false
minify = false
[build.processing.html]
pretty_urls = true
[build.processing.images]
compress = true
[[headers]]
for = "*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Content-Security-Policy = '''
object-src 'none';
worker-src 'none';
block-all-mixed-content;
upgrade-insecure-requests;'''
Strict-Transport-Security = "max-age=15552000; includeSubDomains"
Referrer-Policy = "no-referrer-when-downgrade"
Cache-Control = "public, max-age=604800, s-max-age=604800"
Permissions-Policy = "interest-cohort=()"
[[headers]]
for = "/"
[headers.values]
Link = [
"<CSS_PATH>; rel=preload; as=style",
"<https://NETLIFY_IMAGES_CDN_DOMAIN>; rel=dns-prefetch"
]
[[headers]]
for = "/*.(png|jpg|js|css|svg|woff|ttf|eot|ico|woff2)"
[headers.values]
Cache-Control = "public, max-age=31536000, s-max-age=31536000"
[[redirects]]
from = "/wp-login.php"
to = "/"
status = 301
[[redirects]]
from = "/wp-admin"
to = "/"
status = 301
[[redirects]]
from = "/sitemap.html"
to = "/posts/"
status = 301
[[redirects]]
from = "/portfolio.html"
to = "/projects"
status = 301
[[redirects]]
from = "/my-pull-requests"
to = "https://github.com/search?q=is%3Amerged+is%3Apr+author%3AMikeRogers0+archived%3Afalse+state%3Aclosed&type=Issues&ref=advsearch&l=&l="
status = 302