Initial commit: Traefik v2 con Let's Encrypt y red proxy

This commit is contained in:
2025-11-29 17:34:08 +01:00
commit c0aa57b7d4
5 changed files with 240 additions and 0 deletions

31
traefik.yml Normal file
View File

@@ -0,0 +1,31 @@
api:
dashboard: true
insecure: false
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ":443"
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
network: proxy
file:
directory: /etc/traefik/dynamic
watch: true
certificatesResolvers:
letsencrypt:
acme:
email: admin@tudominio.com
storage: /letsencrypt/acme.json
httpChallenge:
entryPoint: web