From 132daba1af645aa007f6abdd1c5fa981545d4348 Mon Sep 17 00:00:00 2001 From: Max Klenk Date: Fri, 18 Sep 2020 10:17:43 +0200 Subject: [PATCH] fix worker routes --- roles/matrix-nginx-proxy/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/matrix-nginx-proxy/defaults/main.yml b/roles/matrix-nginx-proxy/defaults/main.yml index d6a3d3a7a..0df7ce68e 100644 --- a/roles/matrix-nginx-proxy/defaults/main.yml +++ b/roles/matrix-nginx-proxy/defaults/main.yml @@ -314,7 +314,7 @@ matrix_nginx_proxy_synapse_generic_worker_locations: [ ] matrix_nginx_proxy_synapse_media_repository_locations: [ - '^/_matrix/media/*$', + '^/_matrix/media/$', '^/_synapse/admin/v1/purge_media_cache$', '^/_synapse/admin/v1/room/.*/media.*$', '^/_synapse/admin/v1/user/.*/media.*$', @@ -323,5 +323,5 @@ matrix_nginx_proxy_synapse_media_repository_locations: [ ] matrix_nginx_proxy_synapse_user_dir_locations: [ - 'matrix_nginx_proxy_synapse_media_workers_endpoints', + '^/_matrix/client/(api/v1|r0|unstable)/user_directory/search$', ]