mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-12 15:33:58 +02:00
Compare commits
11 commits
0a8c13ffd2
...
22e3a15dc0
Author | SHA1 | Date | |
---|---|---|---|
|
22e3a15dc0 |
||
|
ad4651167a |
||
|
d981d5b409 |
||
|
c8a40250b3 |
||
|
5f57c26b8d |
||
|
60d29e17f2 |
||
|
e982fe58cb |
||
|
e669b389c8 |
||
|
7f9c098033 |
||
|
78d2d3e53a |
||
|
fc980487d1 |
2 changed files with 3 additions and 6 deletions
|
@ -177,7 +177,7 @@ As we prefer our users to use Caddy, we do not provide configuration files for o
|
||||||
|
|
||||||
You will need to reverse proxy everything under the following routes:
|
You will need to reverse proxy everything under the following routes:
|
||||||
- `/_matrix/` - core Matrix C-S and S-S APIs
|
- `/_matrix/` - core Matrix C-S and S-S APIs
|
||||||
- `/_conduwuit/` and/or `/_continuwuity/` - ad-hoc Continuwuity routes such as `/local_user_count` and
|
- `/_conduwuit/` - ad-hoc Continuwuity routes such as `/local_user_count` and
|
||||||
`/server_version`
|
`/server_version`
|
||||||
|
|
||||||
You can optionally reverse proxy the following individual routes:
|
You can optionally reverse proxy the following individual routes:
|
||||||
|
|
|
@ -187,7 +187,6 @@ pub fn build(router: Router<State>, server: &Server) -> Router<State> {
|
||||||
.ruma_route(&client::well_known_support)
|
.ruma_route(&client::well_known_support)
|
||||||
.ruma_route(&client::well_known_client)
|
.ruma_route(&client::well_known_client)
|
||||||
.route("/_conduwuit/server_version", get(client::conduwuit_server_version))
|
.route("/_conduwuit/server_version", get(client::conduwuit_server_version))
|
||||||
.route("/_continuwuity/server_version", get(client::conduwuit_server_version))
|
|
||||||
.ruma_route(&client::room_initial_sync_route)
|
.ruma_route(&client::room_initial_sync_route)
|
||||||
.route("/client/server.json", get(client::syncv3_client_server_json));
|
.route("/client/server.json", get(client::syncv3_client_server_json));
|
||||||
|
|
||||||
|
@ -227,15 +226,13 @@ pub fn build(router: Router<State>, server: &Server) -> Router<State> {
|
||||||
.ruma_route(&server::well_known_server)
|
.ruma_route(&server::well_known_server)
|
||||||
.ruma_route(&server::get_content_route)
|
.ruma_route(&server::get_content_route)
|
||||||
.ruma_route(&server::get_content_thumbnail_route)
|
.ruma_route(&server::get_content_thumbnail_route)
|
||||||
.route("/_conduwuit/local_user_count", get(client::conduwuit_local_user_count))
|
.route("/_conduwuit/local_user_count", get(client::conduwuit_local_user_count));
|
||||||
.route("/_continuwuity/local_user_count", get(client::conduwuit_local_user_count));
|
|
||||||
} else {
|
} else {
|
||||||
router = router
|
router = router
|
||||||
.route("/_matrix/federation/*path", any(federation_disabled))
|
.route("/_matrix/federation/*path", any(federation_disabled))
|
||||||
.route("/.well-known/matrix/server", any(federation_disabled))
|
.route("/.well-known/matrix/server", any(federation_disabled))
|
||||||
.route("/_matrix/key/*path", any(federation_disabled))
|
.route("/_matrix/key/*path", any(federation_disabled))
|
||||||
.route("/_conduwuit/local_user_count", any(federation_disabled))
|
.route("/_conduwuit/local_user_count", any(federation_disabled));
|
||||||
.route("/_continuwuity/local_user_count", any(federation_disabled));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if config.allow_legacy_media {
|
if config.allow_legacy_media {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue