diff options
author | Xiuming Chen <cxmcc@users.noreply.github.com> | 2020-06-21 21:40:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 00:40:54 -0400 |
commit | 5bc4777be9c818ab6b86448423a7ba29820e71b8 (patch) | |
tree | 1867b15ac4ceee7cdca8a1a96b6f5d820132f282 /modules/caddyhttp/reverseproxy | |
parent | 3af15c0725605162dc8dad0c6ab241e2dc4553c6 (diff) |
chore: Fix typo in reverse-proxy subcommand help message (#3513)
Diffstat (limited to 'modules/caddyhttp/reverseproxy')
-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 a5939a2..4a6739e 100644 --- a/modules/caddyhttp/reverseproxy/command.go +++ b/modules/caddyhttp/reverseproxy/command.go @@ -55,7 +55,7 @@ from its original incoming value to the address of the upstream. (Otherwise, by default, all incoming headers are passed through unmodified.) `, Flags: func() *flag.FlagSet { - fs := flag.NewFlagSet("file-server", flag.ExitOnError) + 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.Bool("change-host-header", false, "Set upstream Host header to address of upstream") |