commit ee321be5794df064d986525e63c63bab2deb7a37 parent b75ba216d1020212662f870306ebbeaf16e260fa Author: Joel Kåberg <joel@kaberg.me> Date: Fri, 14 Sep 2018 23:22:38 +0200 traefik 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' +```