Skip to content

Commit

Permalink
Wildcard domain support. Fixes 87. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vfarcic committed Dec 17, 2016
1 parent 8e64139 commit 88fed4c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions articles/swarm-mode-listener.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,16 @@ Multiple domains should be separated with comma (`,`).
...
```

Domains can be prefixed with a wildcard.

```bash
...
--label com.df.serviceDomain=*domain.com \
...
```

The above example would match any domain ending with `domain.com` (e.g. `my-domain.com`, `my-other-domain.com`, etc).

### Removing a Service From the Proxy

Since `Swarm Listener` is monitoring docker services, if a service is removed, related entries in the proxy configuration will be removed as well.
Expand Down

0 comments on commit 88fed4c

Please sign in to comment.