Allow workers to serve new v3 APIs

1f196f59cb
This commit is contained in:
Aaron Raimist
2021-11-17 14:54:49 +00:00
parent 10523b700c
commit f8fe68b385
3 changed files with 37 additions and 37 deletions

View File

@ -120,7 +120,7 @@ server {
{% endfor %}
{% if matrix_nginx_proxy_synapse_presence_disabled %}
# FIXME: keep in sync with synapse workers documentation manually
location ~ ^/_matrix/client/(api/v1|r0|unstable)/presence/[^/]+/status {
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/[^/]+/status {
proxy_pass http://frontend_proxy_upstream$request_uri;
proxy_set_header Host $host;
}