Bypass Authelia for Dawarich metrics

This commit is contained in:
2026-06-21 23:04:58 +02:00
parent b236eaeeaa
commit 30c3435ddf
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -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