diff options
author | Literallie | 2017-10-13 01:09:04 +0200 |
---|---|---|
committer | Literallie | 2017-10-13 01:42:05 +0200 |
commit | 56411ca0e10a90d8206508171e3871146bce5351 (patch) | |
tree | cfd1983803fe35f95dc47067b27dcd745ad42428 /lib | |
parent | 53c2d0b5ca5901c1d1cad819e2049b16fba18ea8 (diff) |
Make HSTS behaviour configurable; Fixes #584
Diffstat (limited to '')
-rw-r--r-- | lib/config/default.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/config/default.js b/lib/config/default.js index a14a4294..f4c45e3d 100644 --- a/lib/config/default.js +++ b/lib/config/default.js @@ -7,6 +7,12 @@ module.exports = { urladdport: false, alloworigin: ['localhost'], usessl: false, + hsts: { + enable: true, + maxAgeSeconds: 31536000, + includeSubdomains: true, + preload: true + }, protocolusessl: false, usecdn: true, allowanonymous: true, |