diff --git a/etc/nginx/include.d/generic_worker.conf b/etc/nginx/include.d/generic_worker.conf index e6d9a99..f2fbab8 100644 --- a/etc/nginx/include.d/generic_worker.conf +++ b/etc/nginx/include.d/generic_worker.conf @@ -238,7 +238,12 @@ location ~ ^/_matrix/client/(r0|v3|unstable)/user/.*/filter(/|$) { proxy_pass http://generic_worker_lc; } -location ~ ^/_matrix/client/(r0|v3|unstable)/password_policy$ { +location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/directory/room/.*$ { + include include.d/synapse-proxy.conf; + proxy_pass http://generic_worker_lc; +} + +location ~ ^/_matrix/client/(r0|v3|unstable)/capabilities$ { include include.d/synapse-proxy.conf; proxy_pass http://generic_worker_lc; } @@ -292,6 +297,11 @@ location ~ ^/_matrix/client/v1/register/m.login.registration_token/validity$ { proxy_pass http://generic_worker_lc; } +location ~ ^/_matrix/client/(r0|v3|unstable)/password_policy$ { + include include.d/synapse-proxy.conf; + proxy_pass http://generic_worker_lc; +} + # STREAM WRITERS ## Event sending requests