mirror of
https://git.envs.net/envs/matrix-conf.git
synced 2025-07-27 08:55:23 -04:00
update configs to the current version
This commit is contained in:
parent
2abee38762
commit
eddb4a0c55
6 changed files with 158 additions and 82 deletions
|
@ -198,22 +198,12 @@ location ~ ^/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$ {
|
|||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/account/3pid$ {
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/account/3pid$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/devices$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/keys/query$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/keys/changes$ {
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/devices$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
@ -228,17 +218,17 @@ location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/voip/turnServer$ {
|
|||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/joined_groups$ {
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/joined_groups$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/publicised_groups$ {
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/publicised_groups$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/publicised_groups/ {
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/publicised_groups/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
@ -260,15 +250,25 @@ 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/(r0|v3|unstable)/keys/query$ {
|
||||
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;
|
||||
#}
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/keys/changes$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/keys/claim$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/room_keys/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
|
||||
## Registration/login requests
|
||||
|
@ -282,7 +282,7 @@ location ~ ^/_matrix/client/(r0|v3|unstable)/register$ {
|
|||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/unstable/org.matrix.msc3231/register/org.matrix.msc3231.login.registration_token/validity$ {
|
||||
location ~ ^/_matrix/client/v1/register/m.login.registration_token/validity$ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
@ -320,42 +320,36 @@ location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/profile/ {
|
|||
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;
|
||||
#}
|
||||
|
||||
## Device requests
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/sendToDevice/ {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/sendToDevice/ {
|
||||
include include.d/synapse-proxy.conf;
|
||||
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;
|
||||
#}
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/.*/tags {
|
||||
include include.d/synapse-proxy.conf;
|
||||
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;
|
||||
#}
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/.*/account_data {
|
||||
include include.d/synapse-proxy.conf;
|
||||
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;
|
||||
#}
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt {
|
||||
include include.d/synapse-proxy.conf;
|
||||
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;
|
||||
#}
|
||||
location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers {
|
||||
include include.d/synapse-proxy.conf;
|
||||
proxy_pass http://generic_worker_lc;
|
||||
}
|
||||
|
||||
## Presence requests
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/.*/status$ {
|
||||
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/ {
|
||||
# include include.d/synapse-proxy.conf;
|
||||
# proxy_pass http://generic_worker_lc;
|
||||
#}
|
||||
|
|
|
@ -27,7 +27,7 @@ server {
|
|||
}
|
||||
}
|
||||
|
||||
#ALIAS
|
||||
#ALIAS
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
|
|
@ -39,7 +39,7 @@ server {
|
|||
location /.well-known/matrix/client {
|
||||
add_header Access-Control-Allow-Origin '*' always;
|
||||
add_header Content-Type application/json;
|
||||
return 200 '{"m.homeserver": {"base_url": "https://matrix.envs.net"}, "m.integrations": {"managers": [{"ui_url": "https://dimension.envs.net/riot", "api_url": "https://dimension.envs.net/api/v1/scalar"}, {"ui_url": "https://scalar.vector.im/", "api_url": "https://scalar.vector.im/api"}]}, "m.integrations_widget": {"url": "https://dimension.envs.net/riot", "data": {"api_url": "https://dimension.envs.net/api/v1/scalar"}}}';
|
||||
return 200 '{"m.homeserver": {"base_url": "https://matrix.envs.net"}, "m.integrations": {"managers": [{"ui_url": "https://dimension.envs.net/riot", "api_url": "https://dimension.envs.net/api/v1/scalar"}, {"ui_url": "https://scalar.vector.im/", "api_url": "https://scalar.vector.im/api"}]}, "m.integrations_widget": {"url": "https://dimension.envs.net/riot", "data": {"api_url": "https://dimension.envs.net/api/v1/scalar"}}, "m.tile_server": {"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=jrKVgM1ozvdgREfvtZ8X"}}';
|
||||
}
|
||||
|
||||
# workers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue