aboutsummaryrefslogtreecommitdiff
path: root/source/cfg/cherrypy.cfg
blob: ac05d330e6366636f2e5e449dbceedfa59d8a885 (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
[global]
server.socket_host: "0.0.0.0"
server.socket_port: 12556
server.environment = "production"
engine.autoreload_on = True
engine.autoreload_frequency = 5
engine.timeout_monitor.on = False
log.error_file = "var/error.log"
log.access_file = "var/access.log"

[/]
tools.staticdir.root = os.getcwd()
tools.staticdir.on = True
tools.staticdir.dir = "."
tools.encode.on = True
tools.encode.encoding = "utf8"

[/css]
tools.staticdir.on = True
tools.staticdir.dir = "static/css"
tools.staticdir.match = "(?i)^.+\.css$"

[/images]
tools.staticdir.on = True
tools.staticdir.dir = "static/img"
tools.staticdir.match = "(?i)^.+\.png$"
bgstack15