summaryrefslogtreecommitdiff
path: root/lib/config/default.js
diff options
context:
space:
mode:
authorSheogorath2017-10-14 18:02:41 +0200
committerGitHub2017-10-14 18:02:41 +0200
commit5ce8f40eac7fccfcfca175cf79ccfa86a84bc113 (patch)
tree8cb0f7934d918528baf6e0c138bffe54d8f8cad0 /lib/config/default.js
parentec8936a9f17ac90edfffa190ec7c91a99871ce27 (diff)
parent6bdc90d6ffd60cf8fe0509eb9fb3b2d47f185c31 (diff)
Merge pull request #585 from xxyy/feature/hsts-cfg
Make HSTS Behaviour Configurable (Fixes #584)
Diffstat (limited to 'lib/config/default.js')
-rw-r--r--lib/config/default.js6
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,