summaryrefslogtreecommitdiff
path: root/sample_config.js
diff options
context:
space:
mode:
Diffstat (limited to 'sample_config.js')
-rw-r--r--sample_config.js37
1 files changed, 36 insertions, 1 deletions
diff --git a/sample_config.js b/sample_config.js
index 70157a4..91af9da 100644
--- a/sample_config.js
+++ b/sample_config.js
@@ -1,9 +1,44 @@
{
- "strusCms" : {
+ "aCms" : {
+ "script" : "/aCms",
+ "media" : "/media",
+ "db_connection" : "sqlite3:db=./storage/db/aCms.db;@pool_size=16",
+ "mail" : {
+ "server" : "smtp.somedomain.xx",
+ "port" : 25,
+ "username" : "user",
+ "password" : "xx",
+ "from" : "no-reply@somedomain.xx"
+ }
},
"service" : {
"api" : "http",
+ "ip" : "0.0.0.0",
"port" : 8080
+ },
+
+ "http" : {
+ "script" : "/aCms"
+ },
+
+ "views" : {
+ "paths" : [ "." ],
+ "skins" : [ "view" ]
+ },
+
+ "security" : {
+ "csrf" : {
+ "enable" : true
+ }
+ },
+
+ "session" : {
+ "expire" : "browser",
+ "location" : "client",
+ "client" : {
+ "hmac" : "sha1",
+ "hmac_key" : "859cf809f3d163e7e497cc1a29d2f45bcc040d97"
+ }
}
}