forked from projectcontour/contour
-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
35 lines (32 loc) · 1.49 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
[build]
base = "site/"
command = "jekyll build"
publish = "site/_site"
[build.processing]
skip_processing = false # -> Enable processing
[build.processing.css]
bundle = true # -> Concatenate consecutive CSS files together to reduce HTTP requests.
minify = true # -> Run CSS through a minifier to reduce file size.
[build.processing.js]
bundle = true # -> Concatenate consecutive JS files together to reduce HTTP requests.
minify = true # -> Run JS through a minifier to reduce file size.
[build.processing.images]
compress = true # -> Run all images through lossless image compression.
# Reference documentation
# Optimization blog post: https://www.netlify.com/blog/2019/08/05/control-your-asset-optimization-settings-from-netlify.toml/
# How to guide: https://docs.netlify.com/configure-builds/file-based-configuration/#post-processing
# Redirect /quickstart/contour.yaml to the deployment that matches :latest.
#
# kubectl apply https://projectcontour.io/quickstart/contour.yaml
[[redirects]]
from = "/quickstart/contour.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour/release-1.8/examples/render/contour.yaml"
status = 302
# Redirect versioned quickstarts so that they can easily be referenced by
# operators or for upgrade testing.
#
# kubectl apply https://projectcontour.io/quickstart/v1.4.0/contour.yaml
[[redirects]]
from = "/quickstart/*/contour.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour/:splat/examples/render/contour.yaml"
status = 302