diff options
author | Vojtech Vitek <vojtech.vitek@visioncritical.com> | 2022-01-19 20:51:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 14:51:46 -0500 |
commit | 94035c1797015eef281cac0c0911ede2fbb4ca71 (patch) | |
tree | a3aafbddaf0366980af9989fc443eb0ba0a528e9 /modules/caddyhttp | |
parent | b3f7ce34b4209c13186c8c9626ffb9316fb5603a (diff) |
Improve the reverse-proxy CLI --to flag help message (#4535)
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/reverseproxy/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/command.go b/modules/caddyhttp/reverseproxy/command.go index 24d38c3..9bbc681 100644 --- a/modules/caddyhttp/reverseproxy/command.go +++ b/modules/caddyhttp/reverseproxy/command.go @@ -57,7 +57,7 @@ default, all incoming headers are passed through unmodified.) Flags: func() *flag.FlagSet { fs := flag.NewFlagSet("reverse-proxy", flag.ExitOnError) fs.String("from", "localhost", "Address on which to receive traffic") - fs.String("to", "", "Upstream address to which to to proxy traffic") + fs.String("to", "", "Upstream address to which traffic should be sent") fs.Bool("change-host-header", false, "Set upstream Host header to address of upstream") fs.Bool("insecure", false, "Disable TLS verification (WARNING: DISABLES SECURITY BY NOT VERIFYING SSL CERTIFICATES!)") return fs |