From ee321be5794df064d986525e63c63bab2deb7a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20K=C3=A5berg?= Date: Fri, 14 Sep 2018 23:22:38 +0200 Subject: [PATCH] traefik example --- PROXY.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/PROXY.md b/PROXY.md index f8facb80..5572e7bf 100644 --- a/PROXY.md +++ b/PROXY.md @@ -77,4 +77,19 @@ server { ProxyPreserveHost On ProxyRequests Off -``` \ 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' +```