diff --git a/docker-compose.yml b/docker-compose.yml index aa0d6e9..d3cb3cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,8 +35,8 @@ services: labels: labels: - traefik.http.routers.blog.rule=Host(`huguettes.freeboxos.fr`) && Path(`/whoami`) - #- traefik.http.routers.blog.tls=true - #- traefik.http.routers.blog.tls.certresolver=myresolver + - traefik.http.routers.blog.tls=true + - traefik.http.routers.blog.tls.certresolver=myresolver networks: web: diff --git a/rules.yaml b/rules.yaml index 53edac9..704dc1d 100644 --- a/rules.yaml +++ b/rules.yaml @@ -3,6 +3,8 @@ http: router-dsm: rule: "Host(`huguettes.freeboxos.fr`) && PathRegexp(`(/nas|/photo|/file|/drive|/note)`)" service: "service-dsm" + tls: + certresolver: myresolver middlewares: - nas-replacepathregex services: diff --git a/traefik.yml b/traefik.yml index cc308f8..4f23a5d 100644 --- a/traefik.yml +++ b/traefik.yml @@ -15,9 +15,9 @@ entryPoints: websecure: address: ":443" - http: - tls: - certresolver: myresolver +# http: +# tls: +# certresolver: myresolver certificatesResolvers: