summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-01 12:58:43 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-01 12:58:43 +0100
commitcf89b3c9a4f57210acecb23d06cd33f827503cfe (patch)
tree07d7999f9d790d6a03631165665fc98ff6a6b679 /hosts/surtr
parent2554871c89be364530569d04eaa02d13c1992713 (diff)
downloadnixos-cf89b3c9a4f57210acecb23d06cd33f827503cfe.tar
nixos-cf89b3c9a4f57210acecb23d06cd33f827503cfe.tar.gz
nixos-cf89b3c9a4f57210acecb23d06cd33f827503cfe.tar.bz2
nixos-cf89b3c9a4f57210acecb23d06cd33f827503cfe.tar.xz
nixos-cf89b3c9a4f57210acecb23d06cd33f827503cfe.zip
...
Diffstat (limited to 'hosts/surtr')
-rw-r--r--hosts/surtr/http.nix2
1 files changed, 2 insertions, 0 deletions
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 @@
47 client_body_temp_path /run/nginx-client-bodies; 47 client_body_temp_path /run/nginx-client-bodies;
48 client_max_body_size 0; 48 client_max_body_size 0;
49 create_full_put_path on; 49 create_full_put_path on;
50
51 add_header Strict-Transport-Security "max-age=63072000" always;
50 ''; 52 '';
51 }; 53 };
52 }; 54 };