summaryrefslogtreecommitdiff
path: root/config.json.example
diff options
context:
space:
mode:
Diffstat (limited to 'config.json.example')
-rw-r--r--config.json.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.json.example b/config.json.example
index 87c04ed0..e2d774c7 100644
--- a/config.json.example
+++ b/config.json.example
@@ -6,6 +6,9 @@
}
},
"development": {
+ "hsts": {
+ "enable": false
+ },
"db": {
"dialect": "sqlite",
"storage": "./db.hackmd.sqlite"
@@ -13,6 +16,12 @@
},
"production": {
"domain": "localhost",
+ "hsts": {
+ "enable": "true",
+ "maxAgeSeconds": "31536000",
+ "includeSubdomains": "true",
+ "preload": "true"
+ },
"db": {
"username": "",
"password": "",