There might be a way to unify the two http(s) ports https://crates.io/crates/axum-server-dual-protocol This would make the general configuration more simple.