commit 071f3370e39e521e4d174f998cc95c778b514c78 parent b75ba216d1020212662f870306ebbeaf16e260fa Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com> Date: Sat, 15 Sep 2018 20:03:34 +0200 Merge pull request #183 from jkaberg/traefik_example_proxy traefik proxy example Diffstat:
M | PROXY.md | | | 18 | ++++++++++++++++-- |
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/PROXY.md b/PROXY.md @@ -77,4 +77,19 @@ server { ProxyPreserveHost On ProxyRequests Off </VirtualHost> -``` -\ No newline at end of file +``` + +## Traefik (docker-compose example) +```traefik + labels: + - 'traefik.frontend.rule=Host:vault.example.local' + - 'traefik.docker.network=traefik' + - 'traefik.port=80' + - 'traefik.enable=true' + - 'traefik.web.frontend.rule=Host:vault.example.local' + - 'traefik.web.port=80' + - 'traefik.hub.frontend.rule=Path:/notifications/hub' + - 'traefik.hub.port=3012' + - 'traefik.negotiate.frontend.rule=Path:/notifications/hub/negotiate' + - 'traefik.negotiate.port=80' +```