From 01df612e1e3fe4566dbf31d00360c61840504f0a Mon Sep 17 00:00:00 2001 From: kegsay Date: Wed, 8 Sep 2021 17:24:53 +0100 Subject: [PATCH] Fix frontend_proxy jinja script in docker workers (#10783) --- changelog.d/10783.bugfix | 1 + docker/configure_workers_and_start.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/10783.bugfix diff --git a/changelog.d/10783.bugfix b/changelog.d/10783.bugfix new file mode 100644 index 0000000000..f5b40d65a0 --- /dev/null +++ b/changelog.d/10783.bugfix @@ -0,0 +1 @@ +Fix a bug which generated invalid homeserver config when the `frontend_proxy` worker type was passed to the Synapse Worker-based Complement image. \ No newline at end of file diff --git a/docker/configure_workers_and_start.py b/docker/configure_workers_and_start.py index 1d22a4d571..efb9476cd6 100755 --- a/docker/configure_workers_and_start.py +++ b/docker/configure_workers_and_start.py @@ -162,7 +162,7 @@ WORKERS_CONFIG = { "shared_extra_conf": {}, "worker_extra_conf": ( "worker_main_http_uri: http://127.0.0.1:%d" - % (MAIN_PROCESS_HTTP_LISTENER_PORT,), + % (MAIN_PROCESS_HTTP_LISTENER_PORT,) ), }, }