diff options
author | Paweł Dybiec <pawel.to.malpa@gmail.com> | 2019-05-23 21:53:19 +0200 |
---|---|---|
committer | Paweł Dybiec <pawel.to.malpa@gmail.com> | 2019-05-23 21:53:19 +0200 |
commit | 9134284c746a2b86636098c304c6605436f6793f (patch) | |
tree | da3abaf567ca9e7f5b7e1b58b6bd05b26046c386 | |
parent | Set strong cipher and ssl protocols (diff) |
Add HSTS
-rw-r--r-- | compose/nginx/nginx.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compose/nginx/nginx.conf b/compose/nginx/nginx.conf index 4e9d7fd..bc2c359 100644 --- a/compose/nginx/nginx.conf +++ b/compose/nginx/nginx.conf @@ -38,5 +38,7 @@ http { gzip on; + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; + include /etc/nginx/conf.d/*.conf; } |