mirror of
https://git.envs.net/envs/matrix-conf.git
synced 2025-07-29 01:38:43 -04:00
update our configs
This commit is contained in:
parent
74cd45ebeb
commit
2abee38762
6 changed files with 39 additions and 52 deletions
|
@ -259,6 +259,18 @@ location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/search$ {
|
|||
}
|
||||
|
||||
|
||||
## Encryption requests
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/keys/claim {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/room_keys {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
||||
|
||||
## Registration/login requests
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/login$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
|
@ -276,74 +288,74 @@ location ~ ^/_matrix/client/unstable/org.matrix.msc3231/register/org.matrix.msc3
|
|||
}
|
||||
|
||||
|
||||
# STREAM WORKERS
|
||||
# STREAM WRITERS
|
||||
## Event sending requests
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/redact {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc_instancemap;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/send {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc_instancemap;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc_instancemap;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc_instancemap;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/join/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc_instancemap;
|
||||
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_instancemap;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
## Typing requests
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/typing {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc_instancemap;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
||||
## Device requests
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/sendToDevice/ {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc_instancemap;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
||||
## Account data requests
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/.*/tags {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc_instancemap;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/.*/account_data {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc_instancemap;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
||||
## Receipts requests
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/receipt {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc_instancemap;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/read_markers {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc_instancemap;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
||||
## Presence requests
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/.*/status$ {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc_instancemap;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
|
|
@ -13,11 +13,3 @@ upstream generic_worker_lc {
|
|||
server localhost:8512;
|
||||
server localhost:8513;
|
||||
}
|
||||
|
||||
## STREAM WORKER
|
||||
upstream generic_worker_lc_instancemap {
|
||||
least_conn;
|
||||
server localhost:8510;
|
||||
server localhost:8511;
|
||||
server localhost:8512;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue