Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
chore: Fix typo in reverse-proxy subcommand help message (#3513)
Xiuming Chen committed
Jun 21, 2020 at 21:40 UTC
5bc4777be9c818ab6b86448423a7ba29820e71b8
1 file changed
+1
-1
modules/caddyhttp/reverseproxy/command.go
+1
-1
@@ -55,7 +55,7 @@ from its original incoming value to the address of the upstream. (Otherwise, by
55
default, all incoming headers are passed through unmodified.)
56
`,
57
Flags: func() *flag.FlagSet {
58
- fs := flag.NewFlagSet("file-server", flag.ExitOnError)
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")
61
fs.Bool("change-host-header", false, "Set upstream Host header to address of upstream")