aboutsummaryrefslogtreecommitdiff
path: root/cfg/cherrypy.cfg
blob: 51440d6f91e3393daf2aaeb83df59a6f80d4798c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[global]
log.error_file = "var/error.log"
log.access_file = "var/access.log"
server.environment = "production"
engine.autoreload_on = True
engine.autoreload_frequency = 5
engine.timeout_monitor.on = False

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

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

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