nginx: update synapse generic worker locations

This commit is contained in:
creme 2024-05-28 17:28:37 +02:00
parent 92ecbdb5a0
commit 88dbd169c2
No known key found for this signature in database
GPG Key ID: C147C3B7FBDF08D0

View File

@ -84,6 +84,16 @@ location ~ ^/_matrix/federation/(v1|v2)/send_leave/ {
proxy_pass http://generic_worker_lc; proxy_pass http://generic_worker_lc;
} }
location ~ ^/_matrix/federation/v1/make_knock/ {
include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc;
}
location ~ ^/_matrix/federation/v1/send_knock/ {
include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc;
}
location ~ ^/_matrix/federation/(v1|v2)/invite/ { location ~ ^/_matrix/federation/(v1|v2)/invite/ {
include include.d/synapse-proxy.conf; include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc; proxy_pass http://generic_worker_lc;
@ -178,11 +188,6 @@ location ~ ^/_matrix/client/v1/rooms/.*/threads$ {
proxy_pass http://generic_worker_lc; proxy_pass http://generic_worker_lc;
} }
location ~ ^/_matrix/client/unstable/org.matrix.msc2716/rooms/.*/batch_send$ {
include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc;
}
location ~ ^/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$ { location ~ ^/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$ {
include include.d/synapse-proxy.conf; include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc; proxy_pass http://generic_worker_lc;
@ -228,6 +233,11 @@ location ~ ^/_matrix/client/v1/rooms/.*/timestamp_to_event$ {
proxy_pass http://generic_worker_lc; 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/client/(api/v1|r0|v3|unstable)/search$ { location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/search$ {
include include.d/synapse-proxy.conf; include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc; proxy_pass http://generic_worker_lc;
@ -248,6 +258,11 @@ location ~ ^/_matrix/client/(r0|v3|unstable)/capabilities$ {
proxy_pass http://generic_worker_lc; proxy_pass http://generic_worker_lc;
} }
location ~ ^/_matrix/client/(r0|v3|unstable)/notifications$ {
include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc;
}
## Encryption requests ## Encryption requests
location ~ ^/_matrix/client/(r0|v3|unstable)/keys/query$ { location ~ ^/_matrix/client/(r0|v3|unstable)/keys/query$ {