Only use strict transport security for the discourse domain
authorDaniel Porter <dpreid@gmail.com>
Mon, 8 Dec 2014 14:09:42 +0000 (14:09 +0000)
committerDaniel Porter <dpreid@gmail.com>
Mon, 8 Dec 2014 14:09:42 +0000 (14:09 +0000)
templates/web.ssl.template.yml

index f39a6138db08be28846ca41a11ac78be4ea54cc1..51a3dc83deab24d04daab10813f1a6239dd02512 100644 (file)
@@ -27,8 +27,8 @@ run:
        # enable SPDY header compression
        spdy_headers_comp 6;
 
-       # remember the certificate for a year and automatically connect to HTTPS
-       add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains';
+       # remember the certificate for a year and automatically connect to HTTPS for this domain
+       add_header Strict-Transport-Security 'max-age=31536000';
 
        gzip on;