Correctif pour la configuration des certificats.

This commit is contained in:
2026-02-21 22:46:30 +01:00
parent 9796c8fe03
commit 28d3a6a295
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -20,7 +20,7 @@ services:
- "--providers.docker=true" - "--providers.docker=true"
- "--providers.docker.exposedbydefault=false" - "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=frontend" - "--providers.docker.network=frontend"
- "--providers.file.filename=./tls.yaml" - "--providers.file.filename=/etc/traefik/tls.yaml"
# #
- "--entrypoints.web.address=:80" - "--entrypoints.web.address=:80"
- "--entrypoints.web.http.redirections.entrypoint.to=websecure" - "--entrypoints.web.http.redirections.entrypoint.to=websecure"
@@ -41,6 +41,7 @@ services:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./certs:/certs:ro - ./certs:/certs:ro
- ./tls.yaml:/etc/traefik/tls.yaml:ro
networks: networks:
- frontend - frontend
- backend - backend
+1 -1
View File
@@ -1,4 +1,4 @@
tls: tls:
certificates: certificates:
- certFile: /certs/localhost.crt - certFile: /certs/localhost.crt
- keyFile: /certs/localhost.key keyFile: /certs/localhost.key