chore:tls
This commit is contained in:
parent
6bf9bbefa6
commit
5ea362876a
@ -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:
|
||||
|
@ -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"
|
@ -15,6 +15,9 @@ entryPoints:
|
||||
|
||||
websecure:
|
||||
address: ":443"
|
||||
http:
|
||||
tls:
|
||||
certresolver: myresolver
|
||||
|
||||
certificatesResolvers:
|
||||
myresolver:
|
||||
|
Loading…
Reference in New Issue
Block a user