Files
cloudflareTunnel/config.yml
josedario87 beeb9edde3
Some checks failed
deploy-tunnel / deploy (push) Failing after 9s
Fix: Connect tunnel to Traefik via HTTPS to prevent redirect loops
- Cambiado service de http://traefik:80 a https://traefik:443
- noTLSVerify: true para aceptar certificados self-signed de Traefik
- Esto previene ERR_TOO_MANY_REDIRECTS
2025-10-05 03:12:14 -06:00

29 lines
764 B
YAML

# Cloudflare Tunnel Configuration
# Apunta a Traefik para mantener Authentik Forward Auth
tunnel: ${TUNNEL_ID}
credentials-file: /etc/cloudflared/credentials.json
# Configuración de ingress - wildcard apunta todo a Traefik
ingress:
# Wildcard - todo *.nucleoriofrio.com pasa por Traefik
- hostname: "*.nucleoriofrio.com"
service: https://traefik:443
originRequest:
noTLSVerify: true
# Preserve el Host header para que Traefik pueda enrutar correctamente
httpHostHeader: ""
# Dominio raíz (opcional)
- hostname: nucleoriofrio.com
service: https://traefik:443
originRequest:
noTLSVerify: true
httpHostHeader: ""
# Catch-all - rechaza todo lo demás
- service: http_status:404
# Logging
loglevel: info