From cf89b3c9a4f57210acecb23d06cd33f827503cfe Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 1 Feb 2022 12:58:43 +0100 Subject: ... --- hosts/surtr/http.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hosts') diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix index 5c7ae754..cfd99b53 100644 --- a/hosts/surtr/http.nix +++ b/hosts/surtr/http.nix @@ -47,6 +47,8 @@ client_body_temp_path /run/nginx-client-bodies; client_max_body_size 0; create_full_put_path on; + + add_header Strict-Transport-Security "max-age=63072000" always; ''; }; }; -- cgit v1.2.3