about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel.to.malpa@gmail.com>2019-05-23 21:53:19 +0200
committerPaweł Dybiec <pawel.to.malpa@gmail.com>2019-05-23 21:53:19 +0200
commit9134284c746a2b86636098c304c6605436f6793f (patch)
treeda3abaf567ca9e7f5b7e1b58b6bd05b26046c386
parentSet strong cipher and ssl protocols (diff)
Add HSTS
-rw-r--r--compose/nginx/nginx.conf2
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;
 }