forked from spacebar/rust-nex
remove node holders and general repo cleanup
the node holders were just causing issues, we have no need for them currently, so we can just set the secure proxy URL through FORWARD_DESTINATION. less complexity for the cluster and self-hosters too
This commit is contained in:
parent
62e867af2f
commit
aaf9bc4b65
31 changed files with 51 additions and 574 deletions
|
|
@ -1,5 +1,4 @@
|
|||
use proxy::edge_node_dc_callback;
|
||||
use proxy_common::{ProxyStartupParam, setup_edge_node_connection};
|
||||
use proxy_common::ProxyStartupParam;
|
||||
use rnex_server::with_setup;
|
||||
|
||||
#[tokio::main]
|
||||
|
|
@ -8,7 +7,7 @@ async fn main() {
|
|||
let param = ProxyStartupParam::new(proxy_common::ProxyType::Secure)
|
||||
.expect("unable to get startup parameters");
|
||||
|
||||
setup_edge_node_connection(¶m, edge_node_dc_callback).await;
|
||||
// setup_edge_node_connection(¶m, edge_node_dc_callback).await;
|
||||
proxy::start_secure(param).await;
|
||||
Ok(())
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue