add support for dual HTTP/HTTPS, rm caddy from complement
complement sends C-S requests over HTTP, and federation over HTTPS. complement without caddy *almost* works. unfortunately i am now dealing with invalid X-Matrix signatures due to non-percent encoded URIs and it does not seem trivial to percent-encode URIs that a reverse proxy would normally do for you. Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
5344cdbbca
commit
45ad7b40b3
7 changed files with 105 additions and 109 deletions
19
Cargo.lock
generated
19
Cargo.lock
generated
|
@ -189,6 +189,23 @@ dependencies = [
|
|||
"tower-service",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "axum-server-dual-protocol"
|
||||
version = "0.5.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3d1a8f5076b5dbfeb706bcce30fe73caf20971e6e5ca80b83a7f1d990e73e185"
|
||||
dependencies = [
|
||||
"axum-server",
|
||||
"bytes",
|
||||
"http",
|
||||
"hyper",
|
||||
"pin-project",
|
||||
"tokio",
|
||||
"tokio-rustls",
|
||||
"tokio-util",
|
||||
"tower-layer",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "backtrace"
|
||||
version = "0.3.69"
|
||||
|
@ -394,6 +411,7 @@ dependencies = [
|
|||
"async-trait",
|
||||
"axum",
|
||||
"axum-server",
|
||||
"axum-server-dual-protocol",
|
||||
"base64",
|
||||
"bytes",
|
||||
"clap",
|
||||
|
@ -444,6 +462,7 @@ dependencies = [
|
|||
"tracing-opentelemetry",
|
||||
"tracing-subscriber",
|
||||
"trust-dns-resolver",
|
||||
"urlencoding",
|
||||
"webpage",
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue