aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/cfg/cherrypy.cfg8
-rwxr-xr-xsource/pyAggr3g470r.py1
2 files changed, 5 insertions, 4 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
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index 3f74deba..00473189 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -1050,6 +1050,5 @@ if __name__ == '__main__':
# Point of entry in execution mode
root = pyAggr3g470r()
root.favicon_ico = cherrypy.tools.staticfile.handler(filename=os.path.join(conf.path + "/img/favicon.png"))
- cherrypy.config.update({ 'server.socket_port': 12556, 'server.socket_host': "0.0.0.0"})
cherrypy.config.update({'error_page.404': error_404})
cherrypy.quickstart(root, "/" ,config=conf.path + "/cfg/cherrypy.cfg")
bgstack15