From efdc2f01c20ca3b0900ee9e4288867bd26d20b2c Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Fri, 4 Sep 2020 12:54:04 +0200 Subject: [PATCH] [Traefik] Fix configuration for default middleware and TLS options --- pica-traefik/traefik.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pica-traefik/traefik.toml b/pica-traefik/traefik.toml index 7a8b605..0497dde 100644 --- a/pica-traefik/traefik.toml +++ b/pica-traefik/traefik.toml @@ -10,10 +10,11 @@ scheme = "https" [entryPoints.websecure] address = ":443" - middlewares = ["hardening@file", "compression@file"] - [entryPoints.websecure.tls] - certResolver = "letsencrypt" - options = "tls12@file" + [entryPoints.websecure.http] + middlewares = ["hardening@file", "compression@file"] + [entryPoints.websecure.http.tls] + certResolver = "letsencrypt" + options = "tls12@file" [providers]