summary refs log tree commit diff
path: root/synapse/config/workers.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-07 18:19:46 +0100
committerErik Johnston <erik@matrix.org>2017-07-07 18:19:46 +0100
commit1fc4a962e46e074343450c893a521d51338ba396 (patch)
treead6b03d113cb2623e690ab4a912454c1bf3108bf /synapse/config/workers.py
parentMerge pull request #2343 from matrix-org/erikj/fastpush (diff)
downloadsynapse-1fc4a962e46e074343450c893a521d51338ba396.tar.xz
Add a frontend proxy
Diffstat (limited to '')
-rw-r--r--synapse/config/workers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/workers.py b/synapse/config/workers.py
index ea48d931a1..99d5d8aaeb 100644
--- a/synapse/config/workers.py
+++ b/synapse/config/workers.py
@@ -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)