Bypass Authelia for Dawarich metrics
This commit is contained in:
@@ -140,6 +140,15 @@ services:
|
||||
- traefik.http.routers.dawarich-api.middlewares=secure-headers@file
|
||||
- traefik.http.routers.dawarich-api.service=dawarich
|
||||
|
||||
# Prometheus uses Dawarich's own HTTP Basic Auth on /metrics.
|
||||
- traefik.http.routers.dawarich-metrics.rule=Host(`${DAWARICH_HOST}`) && Path(`/metrics`)
|
||||
- traefik.http.routers.dawarich-metrics.entrypoints=websecure
|
||||
- traefik.http.routers.dawarich-metrics.tls=true
|
||||
- traefik.http.routers.dawarich-metrics.tls.certresolver=le
|
||||
- traefik.http.routers.dawarich-metrics.priority=90
|
||||
- traefik.http.routers.dawarich-metrics.middlewares=secure-headers@file
|
||||
- traefik.http.routers.dawarich-metrics.service=dawarich
|
||||
|
||||
# UI and all other routes require Authelia ForwardAuth.
|
||||
- traefik.http.routers.dawarich.rule=Host(`${DAWARICH_HOST}`)
|
||||
- traefik.http.routers.dawarich.entrypoints=websecure
|
||||
|
||||
Reference in New Issue
Block a user