summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/17422.misc1
-rwxr-xr-xdocker/configure_workers_and_start.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/17422.misc b/changelog.d/17422.misc
new file mode 100644
index 0000000000..1f53e3c579
--- /dev/null
+++ b/changelog.d/17422.misc
@@ -0,0 +1 @@
+Route authenticated federation media requests to media repository workers in Complement tests.
\ No newline at end of file
diff --git a/docker/configure_workers_and_start.py b/docker/configure_workers_and_start.py
index b6690f3404..15d8d7b558 100755
--- a/docker/configure_workers_and_start.py
+++ b/docker/configure_workers_and_start.py
@@ -126,6 +126,7 @@ WORKERS_CONFIG: Dict[str, Dict[str, Any]] = {
             "^/_synapse/admin/v1/media/.*$",
             "^/_synapse/admin/v1/quarantine_media/.*$",
             "^/_matrix/client/v1/media/.*$",
+            "^/_matrix/federation/v1/media/.*$",
         ],
         # The first configured media worker will run the media background jobs
         "shared_extra_conf": {