From a96c5f7539c1f521b83509dcf25fa5b8938e2276 Mon Sep 17 00:00:00 2001 From: Cathal O'Connor Date: Wed, 9 Dec 2020 12:44:24 +0000 Subject: [PATCH] chore: fix intly-9766 set hsts header --- etc/nginx/conf.d/default.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index f5da41f4..0acda27c 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -2,6 +2,8 @@ server { listen 80; server_name localhost; + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; + location / { root /usr/share/nginx/html; index index.html index.htm;