From ad6ba0ac1257f74b19b71c1f8a89707f341351d7 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 5 Jul 2024 13:42:32 -0600 Subject: [PATCH] Route MSC3916 stable endpoints to development MMR (#592) --- dev/homeserver.nginx.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev/homeserver.nginx.conf b/dev/homeserver.nginx.conf index 8a975aa1..359ca776 100644 --- a/dev/homeserver.nginx.conf +++ b/dev/homeserver.nginx.conf @@ -14,7 +14,12 @@ server { proxy_pass http://host.docker.internal:8001; } - location /_matrix/client/unstable/org.matrix.msc3916 { + location /_matrix/client/v1/media { + proxy_set_header Host localhost; + proxy_pass http://host.docker.internal:8001; + } + + location /_matrix/federation/v1/media { proxy_set_header Host localhost; proxy_pass http://host.docker.internal:8001; }