Can customize upstream server
This commit is contained in:
parent
4afc1fad37
commit
31752bad80
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user