From f3dd41db2dfa81f829aa5dcacde38ac87b030fc5 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 26 Nov 2012 08:53:36 +0100 Subject: CherryPy port number and address are now defined in ./cfg/cherrypy.cfg. --- source/cfg/cherrypy.cfg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source/cfg') diff --git a/source/cfg/cherrypy.cfg b/source/cfg/cherrypy.cfg index 6e5374fa..8e721e7b 100644 --- a/source/cfg/cherrypy.cfg +++ b/source/cfg/cherrypy.cfg @@ -1,10 +1,12 @@ [global] -log.error_file = "var/error.log" -log.access_file = "var/access.log" +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() @@ -21,4 +23,4 @@ tools.staticdir.match = "(?i)^.+\.css$" [/images] tools.staticdir.on = True tools.staticdir.dir = "img" -tools.staticdir.match = "(?i)^.+\.png$" +tools.staticdir.match = "(?i)^.+\.png$" \ No newline at end of file -- cgit