update help and docs

This commit is contained in:
Vladislav Yarmak 2023-04-02 00:08:35 +03:00
parent ccc82546b1
commit 02eff463a1
2 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@ Dumbest HTTP proxy ever.
* Supports HTTP/2
* Resilient to DPI (including active probing, see `hidden_domain` option for authentication providers)
* Connecting via upstream HTTP(S)/SOCKS5 proxies (proxy chaining)
* systemd socket activation
## Installation
@ -184,7 +185,7 @@ Usage of /home/user/go/bin/dumbproxy:
-autocert-whitelist value
restrict autocert domains to this comma-separated list
-bind-address string
HTTP proxy listen address (default ":8080")
HTTP proxy listen address. Set empty value to use systemd socket activation. (default ":8080")
-cafile string
CA file to authenticate clients with certificates
-cert string

View File

@ -76,7 +76,7 @@ type CLIArgs struct {
func parse_args() CLIArgs {
var args CLIArgs
flag.StringVar(&args.bind_address, "bind-address", ":8080", "HTTP proxy listen address")
flag.StringVar(&args.bind_address, "bind-address", ":8080", "HTTP proxy listen address. Set empty value to use systemd socket activation.")
flag.StringVar(&args.auth, "auth", "none://", "auth parameters")
flag.IntVar(&args.verbosity, "verbosity", 20, "logging verbosity "+
"(10 - debug, 20 - info, 30 - warning, 40 - error, 50 - critical)")