From a2c3e6e40587a16e5e2dd249825a73a611698f04 Mon Sep 17 00:00:00 2001 From: Emile Vauge Date: Fri, 25 Mar 2016 10:34:29 +0100 Subject: [PATCH] Add exposedByDefault doc Signed-off-by: Emile Vauge --- docs/index.md | 9 +++++++++ traefik.sample.toml | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/docs/index.md b/docs/index.md index 2a6ce76b7..e034c6466 100644 --- a/docs/index.md +++ b/docs/index.md @@ -92,6 +92,7 @@ Træfɪk uses the following precedence order. Each item takes precedence over th It means that arguments overrides configuration file. Each argument is described in the help section: + ```bash $ traefik --help traefik is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. @@ -155,6 +156,7 @@ Flags: --marathon Enable Marathon backend --marathon.domain string Default domain used --marathon.endpoint string Marathon server endpoint. You can also specify multiple endpoint for Marathon (default "http://127.0.0.1:8080") + --marathon.exposedByDefault Expose Marathon apps by default (default true) --marathon.filename string Override default configuration template. For advanced users :) --marathon.watch Watch provider (default true) --maxIdleConnsPerHost int If non-zero, controls the maximum idle (keep-alive) to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used @@ -820,6 +822,13 @@ domain = "marathon.localhost" # # filename = "marathon.tmpl" +# Expose Marathon apps by default in traefik +# +# Optional +# Default: false +# +# ExposedByDefault = true + # Enable Marathon basic authentication # # Optional diff --git a/traefik.sample.toml b/traefik.sample.toml index e0f05dfff..4bd6a3af0 100644 --- a/traefik.sample.toml +++ b/traefik.sample.toml @@ -281,6 +281,13 @@ # # filename = "marathon.tmpl" +# Expose Marathon apps by default in traefik +# +# Optional +# Default: false +# +# ExposedByDefault = true + # Enable Marathon basic authentication # # Optional