From 80adf4bf7a193fe9e275cb17aa4aefd9cb0a0650 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Mon, 21 Aug 2023 13:25:32 +0100 Subject: [PATCH] Require auth for prometheus. --- services/prometheus.hcl | 1 + 1 file changed, 1 insertion(+) diff --git a/services/prometheus.hcl b/services/prometheus.hcl index 7b6863e..18f4902 100644 --- a/services/prometheus.hcl +++ b/services/prometheus.hcl @@ -25,6 +25,7 @@ job "prometheus" { tags = [ "traefik.enable=true", "traefik.http.routers.prometheus.entryPoints=websecure", + "traefik.http.routers.prometheus.middlewares=authentik@file", ] check {