diff --git a/changelog.d/10783.bugfix b/changelog.d/10783.bugfix
new file mode 100644
index 0000000000000000000000000000000000000000..f5b40d65a084006515d023381939002f06a5e2e3
--- /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 1d22a4d5719df1851c42b64aa7bd04e3261173b2..efb9476cd6e9790ef32c34bf8800d2535e5cd3fb 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,)
         ),
     },
 }