let encrypt

This commit is contained in:
mathieu 2024-05-23 22:40:11 +02:00
parent 35da83117b
commit 0e817ed877
2 changed files with 3 additions and 5 deletions

View File

@ -3,8 +3,7 @@ http:
router-dsm:
rule: "Host(`huguettes.freeboxos.fr`) && PathRegexp(`(/nas|/photo|/file|/drive|/note)`)"
service: "service-dsm"
tls:
certresolver: myresolver
tls: {}
middlewares:
- replacepathregex-nas
router-vaultwarden:
@ -15,8 +14,7 @@ http:
router-gitea:
rule: "Host(`huguettes.freeboxos.fr`) && Path(`/gitea`)"
service: "service-gitea"
tls:
certresolver: myresolver
tls: {}
middlewares:
- replacepathregex-gitea

View File

@ -25,7 +25,7 @@ certificatesResolvers:
acme:
email: lecoiffiermathieu@gmail.com
storage: /etc/traefik/acme/acme.json
caServer: https://acme-staging-v02.api.letsencrypt.org/directory
#caServer: https://acme-staging-v02.api.letsencrypt.org/directory
httpChallenge:
# used during the challenge
entryPoint: web