summaryrefslogtreecommitdiff
path: root/sample_config.js
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-12-13 15:53:59 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2015-12-13 15:53:59 +0100
commit35997e9d743721ee0392812d38e29616885a427c (patch)
tree36909a9eedfdbcb7591e7c568fef2a6b2ad4c692 /sample_config.js
parentebf669cdbf7854f03113a937605658f100aefd48 (diff)
downloadaCms-35997e9d743721ee0392812d38e29616885a427c.tar.gz
aCms-35997e9d743721ee0392812d38e29616885a427c.tar.bz2
renamed the project to aCms (avoid confusion)
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"
+ }
}
}