@marcel91200 / caddy Mirror · read-only / commits / 94035c17
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 13, 23:00 UTC

Improve the reverse-proxy CLI --to flag help message (#4535)

Vojtech Vitek committed Jan 19, 2022 at 20:51 UTC 94035c1797015eef281cac0c0911ede2fbb4ca71
1 file changed +1 -1
modules/caddyhttp/reverseproxy/command.go
+1 -1
@@ -57,7 +57,7 @@ default, all incoming headers are passed through unmodified.)
57 Flags: func() *flag.FlagSet {
58 fs := flag.NewFlagSet("reverse-proxy", flag.ExitOnError)
59 fs.String("from", "localhost", "Address on which to receive traffic")
60 - fs.String("to", "", "Upstream address to which to to proxy traffic")
60 + fs.String("to", "", "Upstream address to which traffic should be sent")
61 fs.Bool("change-host-header", false, "Set upstream Host header to address of upstream")
62 fs.Bool("insecure", false, "Disable TLS verification (WARNING: DISABLES SECURITY BY NOT VERIFYING SSL CERTIFICATES!)")
63 return fs