aboutsummaryrefslogtreecommitdiff
path: root/cfg/cherrypy.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'cfg/cherrypy.cfg')
-rw-r--r--cfg/cherrypy.cfg21
1 files changed, 21 insertions, 0 deletions
diff --git a/cfg/cherrypy.cfg b/cfg/cherrypy.cfg
new file mode 100644
index 00000000..7b53c1a2
--- /dev/null
+++ b/cfg/cherrypy.cfg
@@ -0,0 +1,21 @@
+[global]
+log.error_file = "error.log"
+log.access_file = "access.log"
+server.environment = "production"
+engine.autoreload_on = True
+engine.autoreload_frequency = 5
+
+[/]
+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$" \ No newline at end of file
bgstack15