Skip to content

Commit 02eff46

Browse files
committed
update help and docs
1 parent ccc8254 commit 02eff46

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Dumbest HTTP proxy ever.
1818
* Supports HTTP/2
1919
* Resilient to DPI (including active probing, see `hidden_domain` option for authentication providers)
2020
* Connecting via upstream HTTP(S)/SOCKS5 proxies (proxy chaining)
21+
* systemd socket activation
2122

2223
## Installation
2324

@@ -184,7 +185,7 @@ Usage of /home/user/go/bin/dumbproxy:
184185
-autocert-whitelist value
185186
restrict autocert domains to this comma-separated list
186187
-bind-address string
187-
HTTP proxy listen address (default ":8080")
188+
HTTP proxy listen address. Set empty value to use systemd socket activation. (default ":8080")
188189
-cafile string
189190
CA file to authenticate clients with certificates
190191
-cert string

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ type CLIArgs struct {
7676

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

0 commit comments

Comments
 (0)