aboutsummaryrefslogtreecommitdiffstats
path: root/netlify.toml
diff options
context:
space:
mode:
authorronv <ronalds.vilcins@gmail.com>2020-01-30 20:19:33 +0200
committerronv <ronalds.vilcins@gmail.com>2020-01-30 20:19:33 +0200
commita1a0a4ad553f59906930d44bf56b089421d2c7a5 (patch)
treeca8b44675434a07394c63a4b0bb22390ed261589 /netlify.toml
parentbc7896a33321ad0c6e22ad60f20e498f55900c12 (diff)
downloadwiki-a1a0a4ad553f59906930d44bf56b089421d2c7a5.tar.gz
initial commit
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml106
1 files changed, 106 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml
new file mode 100644
index 0000000..7f5fcf6
--- /dev/null
+++ b/netlify.toml
@@ -0,0 +1,106 @@
+[[headers]]
+ for = "/*" # This defines which paths this specific [[headers]] block will cover.
+ [headers.values]
+ X-Frame-Options = "DENY"
+ X-XSS-Protection = "1; mode=block"
+ Referrer-Policy = "no-referrer"
+ X-Content-Type-Options = "nosniff"
+
+
+[[headers]]
+ for = "*.ico"
+ [headers.values]
+ Content-Type = "image/x-icon"
+ Cache-Control = "max-age=604800, public"
+
+[[headers]]
+ for = "*.svg"
+ [headers.values]
+ Content-Type = "image/svg+xml"
+ Cache-Control = "max-age=2628000, public"
+
+[[headers]]
+ for = "*.ttf"
+ [headers.values]
+ Content-Type = "font/ttf"
+ Cache-Control = "max-age=2628000, public"
+
+[[headers]]
+ for = "*.otf"
+ [headers.values]
+ Content-Type = "font/otf"
+ Cache-Control = "max-age=2628000, public"
+
+[[headers]]
+ for = "*.eot"
+ [headers.values]
+ Content-Type = "application/vnd.ms-fontobject"
+ Cache-Control = "max-age=2628000, public"
+
+[[headers]]
+ for = "*.woff"
+ [headers.values]
+ Content-Type = "font/woff"
+ Cache-Control = "max-age=2628000, public"
+
+[[headers]]
+ for = "*.woff2"
+ [headers.values]
+ Content-Type = "font/woff"
+ Cache-Control = "max-age=2628000, public"
+
+[[headers]]
+ for = "*.xml"
+ [headers.values]
+ Content-Type = "text/xml"
+ Cache-Control = "max-age=3600, public"
+
+[[headers]]
+ for = "*.mp4"
+ [headers.values]
+ Content-Type = "video/mp4"
+ Cache-Control = "max-age=604800, public"
+
+[[headers]]
+ for = "*.webm"
+ [headers.values]
+ Content-Type = "video/webm"
+ Cache-Control = "max-age=604800, public"
+
+[[headers]]
+ for = "*.docx"
+ [headers.values]
+ Content-Type = "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
+ Cache-Control = "max-age=604800, public"
+
+[[headers]]
+ for = "*.pdf"
+ [headers.values]
+ Content-Type = "application/pdf"
+ Cache-Control = "max-age=604800, public"
+
+[[headers]]
+ for = "*.css"
+ [headers.values]
+ Cache-Control = "max-age=604800, public"
+
+[[headers]]
+ for = "*.js"
+ [headers.values]
+ Cache-Control = "max-age=604800, public"
+
+[[headers]]
+ for = "*.jpg"
+ [headers.values]
+ Cache-Control = "max-age=604800, public"
+
+[[headers]]
+ for = "*.png"
+ [headers.values]
+ Cache-Control = "max-age=604800, public"
+
+[[headers]]
+ for = "*.gif"
+ [headers.values]
+ Cache-Control = "max-age=604800, public"
+
Un proyecto texto-plano.xyz