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)]
pub ports: Vec<u16>,
/// Upstream server
#[clap(short, long, default_value = "127.0.0.1")]
pub upstream_server: String,
/// HTTP server listen address
#[clap(short, long, default_value = "0.0.0.0:8000")]
pub listen_address: String,