summary refs log tree commit diff stats
path: root/fly.toml
diff options
context:
space:
mode:
authorAlan Pearce2023-09-16 12:58:25 +0200
committerAlan Pearce2023-09-16 12:58:25 +0200
commitf91b21742c5f6880e56ae96e1bd94861d217b101 (patch)
treeada912978979900f323af61d58cb9cef957c2df8 /fly.toml
parentd449cf9a9c53af439e23f46770d33b6c2f25a659 (diff)
downloadwebsite-f91b21742c5f6880e56ae96e1bd94861d217b101.tar.lz
website-f91b21742c5f6880e56ae96e1bd94861d217b101.tar.zst
website-f91b21742c5f6880e56ae96e1bd94861d217b101.zip
Send HSTS header from Fly proxy
Bun seems to eat this header otherwise
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 d58112b..6d8757f 100644
--- a/fly.toml
+++ b/fly.toml
@@ -19,3 +19,5 @@ primary_region = "ams"
   auto_start_machines = true
   min_machines_running = 3
   processes = ["app"]
+[http_service.http_options.response.headers]
+  Strict-Transport-Security = "max-age=31536000; includeSubdomains; preload"