-
Notifications
You must be signed in to change notification settings - Fork 2
/
netlify.toml
34 lines (30 loc) · 1.02 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
# netlify.toml
# Comandos para el deploy del sitio en la infraestructura de Netlify.
[build]
command = "bundle exec jekyll build"
publish = "_site"
environment = { JEKYLL_ENV="production" }
# Redirección proxy de contenido estático alojado en B2 y cacheado por Cloudflare. (https://s2.dipio.cl/file/bioemprendedor/)
[[redirects]]
from = "/static/*"
to = "https://f002.backblazeb2.com/file/bioemprendedor/:splat"
status = 200
force = true
headers = {Cache-Control = "Public, max-age=31536000", X-From = "Netlify CDN"}
# Redirect domain aliases to primary domain
[[redirects]]
from = "https://bioemprendimiento.cl/*"
to = "https://bioemprendedor.cl/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.bioemprendimiento.cl/*"
to = "https://bioemprendedor.cl/:splat"
status = 301
force = true
# Optional: Redirect default Netlify subdomain to primary domain
# [[redirects]]
# from = "https://bioemprendedorcl.netlify.com/*"
# to = "https://bioemprendedor.cl/:splat"
# status = 301
# force = true