From 5de75b9f62becf1e15a5e27b52ef33f190949742 Mon Sep 17 00:00:00 2001 From: creme Date: Tue, 28 Mar 2023 15:14:56 +0200 Subject: [PATCH] update worker endpoints --- etc/nginx/include.d/generic_worker.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/etc/nginx/include.d/generic_worker.conf b/etc/nginx/include.d/generic_worker.conf index a95b924..d58cb75 100644 --- a/etc/nginx/include.d/generic_worker.conf +++ b/etc/nginx/include.d/generic_worker.conf @@ -99,6 +99,11 @@ location ~ ^/_matrix/federation/v1/timestamp_to_event/ { proxy_pass http://generic_worker_lc; } +location ~ ^/_matrix/client/(api/v1|r0|v3|unstable/.*)/rooms/.*/aliases { + include include.d/synapse-proxy.conf; + proxy_pass http://generic_worker_lc; +} + location ~ ^/_matrix/federation/v1/exchange_third_party_invite/ { include include.d/synapse-proxy.conf; proxy_pass http://generic_worker_lc; @@ -228,6 +233,11 @@ location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/search$ { proxy_pass http://generic_worker_lc; } +location ~ ^/_matrix/client/(r0|v3|unstable)/user/.*/filter(/|$) { + include include.d/synapse-proxy.conf; + proxy_pass http://generic_worker_lc; +} + ## Encryption requests location ~ ^/_matrix/client/(r0|v3|unstable)/keys/query$ { @@ -267,6 +277,11 @@ location ~ ^/_matrix/client/(r0|v3|unstable)/register$ { proxy_pass http://generic_worker_lc; } +location ~ ^/_matrix/client/(r0|v3|unstable)/register/available$ { + include include.d/synapse-proxy.conf; + proxy_pass http://generic_worker_lc; +} + location ~ ^/_matrix/client/v1/register/m.login.registration_token/validity$ { include include.d/synapse-proxy.conf; proxy_pass http://generic_worker_lc; @@ -300,6 +315,11 @@ location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/join/ { proxy_pass http://generic_worker_lc; } +location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/knock/ { + include include.d/synapse-proxy.conf; + proxy_pass http://generic_worker_lc; +} + location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/profile/ { include include.d/synapse-proxy.conf; proxy_pass http://generic_worker_lc;