From 5fad53429285fbda2c607a29fe3b489bf1c6f9c5 Mon Sep 17 00:00:00 2001 From: lab Date: Fri, 3 Dec 2021 04:20:08 +0800 Subject: [PATCH] fix: portainer tls config --- portainer/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portainer/docker-compose.yml b/portainer/docker-compose.yml index cb4dbfe..450956f 100644 --- a/portainer/docker-compose.yml +++ b/portainer/docker-compose.yml @@ -12,6 +12,8 @@ services: - "traefik.http.routers.portainer.entrypoints=websecure" - "traefik.http.routers.portainer.tls=true" - "traefik.http.routers.portainer.tls.certresolver=letsencrypt" + - "traefik.http.routers.portainer.tls.domains[0].main=esin.io" + - "traefik.http.routers.portainer.tls.domains[0].sans=*.esin.io" - "traefik.http.routers.portainer.middlewares=portainer-mw" - "traefik.http.middlewares.portainer-mw.compress=true" - "traefik.http.middlewares.portainer-mw.compress.excludedcontenttypes=text/event-stream"