Add --proxy option to enable/disable proxy.
Weave Net initially had the ability to start a single component at a time with `launch-proxy` and `launch-router`. This change enables this again via `--proxy=false` despite the merge of the proxy and the router. Note that by default: - `launch` passes `--proxy` which enables the proxy and keeps behaviour consistent with `launch` pre-merge, - `weaver` defaults `--proxy` to `false` which disables the proxy and keeps behaviour consistent with `weaver` pre-merge (as it was `weaveproxy`'s responsibility).
This commit is contained in:
1 parent
2c7693b2c5
commit
5cf973f03a
3 files changed
+16
-11
No files matched your search
@@ -50,6 +50,7 @@ func dockerAPIEndpoint(endpoint string) *regexp.Regexp {
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
Enabled bool
|
||||
HostnameFromLabel string
|
||||
HostnameMatch string
|
||||
HostnameReplacement string
|
||||
|
||||
Reference in new issue
Block a user