From f91b21742c5f6880e56ae96e1bd94861d217b101 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 16 Sep 2023 12:58:25 +0200 Subject: Send HSTS header from Fly proxy Bun seems to eat this header otherwise --- fly.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fly.toml') 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" -- cgit 1.4.1