mirror of
https://github.com/caddyserver/caddy.git
synced 2026-08-27 04:07:28 +00:00
Minor tweaks
This commit is contained in:
parent
c447236357
commit
6cbd93736f
7 changed files with 23 additions and 17 deletions
|
|
@ -51,7 +51,7 @@ default, all incoming headers are passed through unmodified.)
|
|||
`,
|
||||
Flags: func() *flag.FlagSet {
|
||||
fs := flag.NewFlagSet("file-server", flag.ExitOnError)
|
||||
fs.String("from", "", "Address on which to receive traffic")
|
||||
fs.String("from", "localhost:443", "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")
|
||||
return fs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue