traefik host

This commit is contained in:
Yax 2020-06-27 20:42:04 +02:00
parent 40bd9df651
commit 335b30afd3
6 changed files with 4 additions and 88 deletions

View file

@ -17,8 +17,7 @@ services:
- 61208
labels:
- traefik.enable=true
- traefik.http.routers.glances.rule=Host(`${SITE}`) && Path(`/top`)
- traefik.http.middlewares.glances.stripprefix.prefixes=/top,/top/
- traefik.http.routers.glances.rule=Host(`glances.${DOMAIN}`)
- traefik.http.routers.glances.entrypoints=web
- traefik.http.services.glances.loadbalancer.server.port=61208