fix worker routes

This commit is contained in:
Max Klenk 2020-09-18 10:17:43 +02:00
parent 1e68d8b2e5
commit 132daba1af
No known key found for this signature in database
GPG key ID: 26EFB2972F02F380

View file

@ -314,7 +314,7 @@ matrix_nginx_proxy_synapse_generic_worker_locations: [
] ]
matrix_nginx_proxy_synapse_media_repository_locations: [ matrix_nginx_proxy_synapse_media_repository_locations: [
'^/_matrix/media/*$', '^/_matrix/media/$',
'^/_synapse/admin/v1/purge_media_cache$', '^/_synapse/admin/v1/purge_media_cache$',
'^/_synapse/admin/v1/room/.*/media.*$', '^/_synapse/admin/v1/room/.*/media.*$',
'^/_synapse/admin/v1/user/.*/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_user_dir_locations: [
'matrix_nginx_proxy_synapse_media_workers_endpoints', '^/_matrix/client/(api/v1|r0|unstable)/user_directory/search$',
] ]