summaryrefslogtreecommitdiff
path: root/config.js
blob: 2eadab37fa0fb02a2cca48b5f0147175bbf57cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
	"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" : "6fe0b96a8c5ddcb8af8c377f1d3981549d4bd5c3"
		}
	}
}