mirror of
https://git.envs.net/envs/matrix-conf.git
synced 2025-01-25 15:36:12 -05:00
exclude not active stream_writer types
(only a single worker is allowed?)
This commit is contained in:
parent
eddb4a0c55
commit
a0fe6767be
@ -2783,21 +2783,21 @@ stream_writers:
|
|||||||
# - generic_worker2
|
# - generic_worker2
|
||||||
# - generic_worker3
|
# - generic_worker3
|
||||||
# - generic_worker4
|
# - generic_worker4
|
||||||
to_device:
|
# to_device:
|
||||||
- generic_worker1
|
# - generic_worker1
|
||||||
- generic_worker2
|
# - generic_worker2
|
||||||
- generic_worker3
|
# - generic_worker3
|
||||||
- generic_worker4
|
# - generic_worker4
|
||||||
account_data:
|
# account_data:
|
||||||
- generic_worker1
|
# - generic_worker1
|
||||||
- generic_worker2
|
# - generic_worker2
|
||||||
- generic_worker3
|
# - generic_worker3
|
||||||
- generic_worker4
|
# - generic_worker4
|
||||||
receipts:
|
# receipts:
|
||||||
- generic_worker1
|
# - generic_worker1
|
||||||
- generic_worker2
|
# - generic_worker2
|
||||||
- generic_worker3
|
# - generic_worker3
|
||||||
- generic_worker4
|
# - generic_worker4
|
||||||
# presence:
|
# presence:
|
||||||
# - generic_worker1
|
# - generic_worker1
|
||||||
# - generic_worker2
|
# - generic_worker2
|
||||||
|
@ -321,32 +321,32 @@ location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/profile/ {
|
|||||||
}
|
}
|
||||||
|
|
||||||
## Device requests
|
## Device requests
|
||||||
location ~ ^/_matrix/client/(r0|v3|unstable)/sendToDevice/ {
|
#location ~ ^/_matrix/client/(r0|v3|unstable)/sendToDevice/ {
|
||||||
include include.d/synapse-proxy.conf;
|
# include include.d/synapse-proxy.conf;
|
||||||
proxy_pass http://generic_worker_lc;
|
# proxy_pass http://generic_worker_lc;
|
||||||
}
|
#}
|
||||||
|
|
||||||
## Account data requests
|
## Account data requests
|
||||||
location ~ ^/_matrix/client/(r0|v3|unstable)/.*/tags {
|
#location ~ ^/_matrix/client/(r0|v3|unstable)/.*/tags {
|
||||||
include include.d/synapse-proxy.conf;
|
# include include.d/synapse-proxy.conf;
|
||||||
proxy_pass http://generic_worker_lc;
|
# proxy_pass http://generic_worker_lc;
|
||||||
}
|
#}
|
||||||
|
|
||||||
location ~ ^/_matrix/client/(r0|v3|unstable)/.*/account_data {
|
#location ~ ^/_matrix/client/(r0|v3|unstable)/.*/account_data {
|
||||||
include include.d/synapse-proxy.conf;
|
# include include.d/synapse-proxy.conf;
|
||||||
proxy_pass http://generic_worker_lc;
|
# proxy_pass http://generic_worker_lc;
|
||||||
}
|
#}
|
||||||
|
|
||||||
## Receipts requests
|
## Receipts requests
|
||||||
location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt {
|
#location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt {
|
||||||
include include.d/synapse-proxy.conf;
|
# include include.d/synapse-proxy.conf;
|
||||||
proxy_pass http://generic_worker_lc;
|
# proxy_pass http://generic_worker_lc;
|
||||||
}
|
#}
|
||||||
|
|
||||||
location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers {
|
#location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers {
|
||||||
include include.d/synapse-proxy.conf;
|
# include include.d/synapse-proxy.conf;
|
||||||
proxy_pass http://generic_worker_lc;
|
# proxy_pass http://generic_worker_lc;
|
||||||
}
|
#}
|
||||||
|
|
||||||
## Presence requests
|
## Presence requests
|
||||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/ {
|
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/ {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user