summaryrefslogtreecommitdiffstats
path: root/config/production/deployment.toml
diff options
context:
space:
mode:
authorAnoduck <9925396+anoduck@users.noreply.github.com>2024-09-08 14:54:54 +0000
committerGitHub <noreply@github.com>2024-09-08 14:54:54 +0000
commitd2a0fd14e05ef6b0b9fca454f8996faf86f94204 (patch)
tree242f822be67c179618f1e2aabcea60c172f4f6e0 /config/production/deployment.toml
Initial commit
Diffstat (limited to 'config/production/deployment.toml')
-rw-r--r--config/production/deployment.toml31
1 files changed, 31 insertions, 0 deletions
diff --git a/config/production/deployment.toml b/config/production/deployment.toml
new file mode 100644
index 0000000..a12e23e
--- /dev/null
+++ b/config/production/deployment.toml
@@ -0,0 +1,31 @@
+# toml-docs-start az-blob
+# By default, files are uploaded in an arbitrary order.
+# Files that match the regular expressions in the "Order" list
+# will be uploaded first, in the listed order.
+order = [".webp$", ".jpg$", ".gif$"]
+
+[targets]
+name = "hinode"
+URL = "azblob://$web"
+
+[[matchers]]
+# Cache static assets for 1 year.
+pattern = "^.+\\.(js|css|svg|ttf)$"
+cacheControl = "max-age=31536000, no-transform, public"
+gzip = true
+
+[[matchers]]
+pattern = "^.+\\.(png|jpg|webp)$"
+cacheControl = "max-age=31536000, no-transform, public"
+gzip = false
+
+[[matchers]]
+# Set custom content type for /sitemap.xml
+pattern = "^sitemap\\.xml$"
+contentType = "application/xml"
+gzip = true
+
+[[matchers]]
+pattern = "^.+\\.(html|xml|json)$"
+gzip = true
+# toml-docs-end az-blob