Fix: Connect tunnel to Traefik via HTTPS to prevent redirect loops
Some checks failed
deploy-tunnel / deploy (push) Failing after 9s

- 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
This commit is contained in:
2025-10-05 03:12:14 -06:00
parent a5221948c5
commit beeb9edde3

View File

@@ -8,17 +8,17 @@ credentials-file: /etc/cloudflared/credentials.json
ingress:
# Wildcard - todo *.nucleoriofrio.com pasa por Traefik
- hostname: "*.nucleoriofrio.com"
service: http://traefik:80
service: https://traefik:443
originRequest:
noTLSVerify: false
noTLSVerify: true
# Preserve el Host header para que Traefik pueda enrutar correctamente
httpHostHeader: ""
# Dominio raíz (opcional)
- hostname: nucleoriofrio.com
service: http://traefik:80
service: https://traefik:443
originRequest:
noTLSVerify: false
noTLSVerify: true
httpHostHeader: ""
# Catch-all - rechaza todo lo demás