From 4ac15ab8421c2c92322e715ffd1550203b212a21 Mon Sep 17 00:00:00 2001 From: kongr45gpen Date: Sat, 6 Jan 2018 13:18:18 +0200 Subject: Add configuration value to specify the binding address of the HTTP server Implements #24 --- config.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.py') diff --git a/config.py b/config.py index b7faba3..31c11bc 100644 --- a/config.py +++ b/config.py @@ -59,6 +59,10 @@ conf.registerChannelValue(Github, 'showSuccessfulDeployMessages', registry.String('always', """Whether to show successful deployment messages - can be never, change or always""")) +conf.registerGlobalValue(Github, 'address', + registry.String('', + """The IP address or hostname to which the HTTP server will bind. The default empty value ('') should work for most cases.""")) + conf.registerGlobalValue(Github, 'port', registry.Integer(8093, """The port where Github will send HTTP requests""")) -- cgit v1.2.3