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