chore:tls

This commit is contained in:
mathieu 2024-05-21 08:17:45 +02:00
parent 6bf9bbefa6
commit 5ea362876a
3 changed files with 6 additions and 5 deletions

View File

@ -34,8 +34,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:

View File

@ -3,8 +3,6 @@ http:
router-dsm:
rule: "Host(`huguettes.freeboxos.fr`) && PathRegexp(`(/nas|/photo|/file|/drive|/note)`)"
service: "service-dsm"
tls:
certresolver: myresolver
middlewares:
- nas-replacepathregex
services:
@ -19,4 +17,4 @@ http:
nas-replacepathregex:
replacepathregex:
regex: "^/nas/(.*)"
replacement: "/$1"
replacement: "/$1"

View File

@ -15,6 +15,9 @@ entryPoints:
websecure:
address: ":443"
http:
tls:
certresolver: myresolver
certificatesResolvers:
myresolver: