This commit is contained in:
mathieu 2024-05-21 08:32:18 +02:00
parent a9871ead9c
commit 377072306d
3 changed files with 7 additions and 5 deletions

View File

@ -35,8 +35,8 @@ services:
labels: labels:
labels: labels:
- traefik.http.routers.blog.rule=Host(`huguettes.freeboxos.fr`) && Path(`/whoami`) - traefik.http.routers.blog.rule=Host(`huguettes.freeboxos.fr`) && Path(`/whoami`)
#- traefik.http.routers.blog.tls=true - traefik.http.routers.blog.tls=true
#- traefik.http.routers.blog.tls.certresolver=myresolver - traefik.http.routers.blog.tls.certresolver=myresolver
networks: networks:
web: web:

View File

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

View File

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