From 1ef7a1f9be47d01e3f57fa76e14c6da0ea360fea Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 11 Jul 2022 11:02:21 -0700 Subject: [PATCH] Fix for: time="2022-07-11T18:01:05Z" level=error msg="Unable to obtain ACME certificate for domains \"loki-monitoring\": unable to generate a certificate for the domains [loki-monitoring]: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rejectedIdentifier :: Error creating new order :: Cannot issue for \"loki-monitoring\": Domain name needs at least one dot" ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=prometheus@docker rule="Host(`loki-monitoring`)" providerName=lets-encrypt.acme --- server/config/monitoring/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/config/monitoring/docker-compose.yml b/server/config/monitoring/docker-compose.yml index d928b24..ed3234f 100644 --- a/server/config/monitoring/docker-compose.yml +++ b/server/config/monitoring/docker-compose.yml @@ -51,7 +51,7 @@ services: command: -config.file=/etc/loki/loki-config.yml labels: - traefik.http.routers.loki.rule=Host(`loki.jafner.net`) - - traefik.http.routers.prometheus.tls.certresolver=lets-encrypt + - traefik.http.routers.loki.tls.certresolver=lets-encrypt pihole-jafner-net: image: ekofr/pihole-exporter:latest