summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/reverseproxy
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-03-13 13:02:47 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-03-13 13:04:10 -0600
commit6cbd93736fcd2e202fb4d5cfc3f9dd45b6121b0b (patch)
tree43c67b6de541552e5cb3a6e10029c035693369d4 /modules/caddyhttp/reverseproxy
parentc4472363579e26485fdfc01f4fd79b86d44acd86 (diff)
Minor tweaks
Diffstat (limited to 'modules/caddyhttp/reverseproxy')
-rw-r--r--modules/caddyhttp/reverseproxy/command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/command.go b/modules/caddyhttp/reverseproxy/command.go
index 6110ca8..cde3084 100644
--- a/modules/caddyhttp/reverseproxy/command.go
+++ b/modules/caddyhttp/reverseproxy/command.go
@@ -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