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, 04:00 UTC
caddyhttp: reverseproxy: clarify warning for -insecure (#4379)
The question would only receive bad answers so it's better to just say what the option actually does.
Simão Gomes Viana committed
Oct 12, 2021 at 00:15 UTC
837cdc566d609eae8f5f6b7207c4642768dfa4de
1 file changed
+1
-1
modules/caddyhttp/reverseproxy/command.go
+1
-1
@@ -59,7 +59,7 @@ default, all incoming headers are passed through unmodified.)
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")
62
- fs.Bool("insecure", false, "Disable TLS verification (WARNING: DISABLES SECURITY, WHY ARE YOU EVEN USING TLS?)")
62
+ fs.Bool("insecure", false, "Disable TLS verification (WARNING: DISABLES SECURITY BY NOT VERIFYING SSL CERTIFICATES!)")
63
return fs
64
}(),
65
})