|
|
|
@ -12,7 +12,7 @@ func loadConfig() *Config {
|
|
|
|
|
flag.BoolVar(&config.version, "version", false, "show version")
|
|
|
|
|
flag.StringVar(&config.addr, "addr", ":9080", "proxy listen addr")
|
|
|
|
|
flag.StringVar(&config.webAddr, "web_addr", ":9081", "web interface listen addr")
|
|
|
|
|
flag.BoolVar(&config.ssl_insecure, "ssl_insecure", false, "not verify upstream server SSL/TLS certificates.")
|
|
|
|
|
flag.BoolVar(&config.sslInsecure, "ssl_insecure", false, "not verify upstream server SSL/TLS certificates.")
|
|
|
|
|
flag.StringVar(&config.dump, "dump", "", "dump filename")
|
|
|
|
|
flag.IntVar(&config.dumpLevel, "dump_level", 0, "dump level: 0 - header, 1 - header + body")
|
|
|
|
|
flag.StringVar(&config.mapperDir, "mapper_dir", "", "mapper files dirpath")
|
|
|
|
|