about summary refs log tree commit diff stats
path: root/fly.toml
diff options
context:
space:
mode:
authorAlan Pearce2023-11-05 13:32:14 +0100
committerAlan Pearce2023-11-05 17:18:29 +0100
commit6c0b9fb5773f48d86008f737704b735c0787e788 (patch)
tree6c3fe0ab0274fd21b058d17e3160027c3466e1c2 /fly.toml
parent3a9b920d4981ac28becb9634ec964dc2e2104401 (diff)
downloadwebsite-6c0b9fb5773f48d86008f737704b735c0787e788.tar.lz
website-6c0b9fb5773f48d86008f737704b735c0787e788.tar.zst
website-6c0b9fb5773f48d86008f737704b735c0787e788.zip
Automatically redirect other hostnames to the configured base_url
Diffstat (limited to 'fly.toml')
-rw-r--r--fly.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/fly.toml b/fly.toml
index aa31e61..7e09b9b 100644
--- a/fly.toml
+++ b/fly.toml
@@ -27,3 +27,5 @@ primary_region = "ams"
   method = "GET"
   timeout = "5s"
   path = "/health.txt"
+  [http_service.checks.headers]
+    Host = "alanpearce.eu"