Skip to content

Commit 88fed4c

Browse files
committed
Wildcard domain support. Fixes 87. [ci skip]
1 parent 8e64139 commit 88fed4c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

articles/swarm-mode-listener.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,16 @@ Multiple domains should be separated with comma (`,`).
198198
...
199199
```
200200

201+
Domains can be prefixed with a wildcard.
202+
203+
```bash
204+
...
205+
--label com.df.serviceDomain=*domain.com \
206+
...
207+
```
208+
209+
The above example would match any domain ending with `domain.com` (e.g. `my-domain.com`, `my-other-domain.com`, etc).
210+
201211
### Removing a Service From the Proxy
202212

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

0 commit comments

Comments
 (0)