Add a frontend proxy

This commit is contained in:
Erik Johnston 2017-07-07 18:19:46 +01:00
parent 08284c86ed
commit 1fc4a962e4
2 changed files with 269 additions and 0 deletions

View file

@ -32,6 +32,8 @@ class WorkerConfig(Config):
self.worker_replication_port = config.get("worker_replication_port", None)
self.worker_name = config.get("worker_name", self.worker_app)
self.worker_main_http_uri = config.get("worker_main_http_uri", None)
if self.worker_listeners:
for listener in self.worker_listeners:
bind_address = listener.pop("bind_address", None)