mirror of
https://git.envs.net/envs/matrix-conf.git
synced 2024-10-01 07:35:35 -04:00
update generic_worker locations
Signed-off-by: creme <creme@envs.net>
This commit is contained in:
parent
15b1e54ee5
commit
6a5cb6f996
@ -19,7 +19,7 @@ handlers:
|
||||
file:
|
||||
class: logging.handlers.TimedRotatingFileHandler
|
||||
formatter: precise
|
||||
filename: /var/log/matrix-synapse/additional1.log
|
||||
filename: /var/log/matrix-synapse/worker_additional1.log
|
||||
when: midnight
|
||||
backupCount: 2 # Does not include the current log file.
|
||||
encoding: utf8
|
||||
|
@ -19,7 +19,7 @@ handlers:
|
||||
file:
|
||||
class: logging.handlers.TimedRotatingFileHandler
|
||||
formatter: precise
|
||||
filename: /var/log/matrix-synapse/presence.log
|
||||
filename: /var/log/matrix-synapse/worker_presence.log
|
||||
when: midnight
|
||||
backupCount: 2 # Does not include the current log file.
|
||||
encoding: utf8
|
||||
|
@ -7,12 +7,12 @@
|
||||
#
|
||||
|
||||
## Sync requests
|
||||
location ~ ^/_matrix/client/(v2_alpha|r0|v3)/sync$ {
|
||||
location ~ ^/_matrix/client/(r0|v3)/sync$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://localhost:8083;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|v2_alpha|r0|v3)/events$ {
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3)/events$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
@ -74,37 +74,17 @@ location ~ ^/_matrix/federation/v1/make_leave/ {
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/federation/v1/send_join/ {
|
||||
location ~ ^/_matrix/federation/(v1|v2)/send_join/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/federation/v2/send_join/ {
|
||||
location ~ ^/_matrix/federation/(v1|v2)/send_leave/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/federation/v1/send_leave/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/federation/v2/send_leave/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/federation/v1/invite/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/federation/v2/invite/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/federation/v1/query_auth/ {
|
||||
location ~ ^/_matrix/federation/(v1|v2)/invite/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
@ -178,11 +158,6 @@ location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state$ {
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/unstable/org.matrix.msc2946/rooms/.*/spaces$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(v1|unstable/org.matrix.msc2946)/rooms/.*/hierarchy$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
|
Loading…
Reference in New Issue
Block a user