aboutsummaryrefslogtreecommitdiff
path: root/source/cfg
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2012-11-26 08:53:36 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2012-11-26 08:53:36 +0100
commitf3dd41db2dfa81f829aa5dcacde38ac87b030fc5 (patch)
treef2231714a3761ce3345d4b46b638d5ffeae4e571 /source/cfg
parentRefactoring codes in templates. (diff)
downloadnewspipe-f3dd41db2dfa81f829aa5dcacde38ac87b030fc5.tar.gz
newspipe-f3dd41db2dfa81f829aa5dcacde38ac87b030fc5.tar.bz2
newspipe-f3dd41db2dfa81f829aa5dcacde38ac87b030fc5.zip
CherryPy port number and address are now defined in ./cfg/cherrypy.cfg.
Diffstat (limited to 'source/cfg')
-rw-r--r--source/cfg/cherrypy.cfg8
1 files changed, 5 insertions, 3 deletions
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
bgstack15