From f15f891ceb615b2bd11348b4bb1f04c067e21dc2 Mon Sep 17 00:00:00 2001 From: Edwin Lyon <53972157+practical-engelbart@users.noreply.github.com> Date: Wed, 24 Feb 2021 22:16:44 -0800 Subject: [PATCH] Update default --- nginx/default | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nginx/default b/nginx/default index 7afbaea..60ed24c 100644 --- a/nginx/default +++ b/nginx/default @@ -29,6 +29,8 @@ server { ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; include /etc/nginx/snippets/ssl.conf; + add_header Strict-Transport-Security "max-age=31536000"; + if ($host !~ ^(autoconfig.thelyoncompany.com|autodiscover.thelyoncompany.com|webmail.thelyoncompany.com|email.thelyoncompany.com|matrix.thelyoncompany.com|thelyoncompany.com)$ ) { return 444; }