From f3cb9b36850a1af9104a694e9f5deb76d2d15393 Mon Sep 17 00:00:00 2001 From: furyhawk Date: Sun, 12 Jul 2026 09:47:13 +0800 Subject: [PATCH] feat: update Traefik routing for Prometheus service by adding middleware configuration --- swarm/prometheus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/prometheus.yml b/swarm/prometheus.yml index d98976c..ac2d40d 100644 --- a/swarm/prometheus.yml +++ b/swarm/prometheus.yml @@ -41,5 +41,5 @@ services: - traefik.http.routers.prometheus-https.entrypoints=https - traefik.http.routers.prometheus-https.tls=true - traefik.http.routers.prometheus-https.tls.certresolver=le + - traefik.http.routers.prometheus-https.middlewares=admin-auth@swarm - traefik.http.services.prometheus.loadbalancer.server.port=9090 - - traefik.http.routers.prometheus.middlewares=admin-auth@swarm