Can customize upstream server

This commit is contained in:
Pierre HUBERT 2022-08-30 10:19:57 +02:00
parent 4afc1fad37
commit 31752bad80

View File

@ -12,6 +12,10 @@ pub struct Args {
#[clap(short, long)] #[clap(short, long)]
pub ports: Vec<u16>, pub ports: Vec<u16>,
/// Upstream server
#[clap(short, long, default_value = "127.0.0.1")]
pub upstream_server: String,
/// HTTP server listen address /// HTTP server listen address
#[clap(short, long, default_value = "0.0.0.0:8000")] #[clap(short, long, default_value = "0.0.0.0:8000")]
pub listen_address: String, pub listen_address: String,