I'm having an odd issue with Traefik v2.5.3.
Running under Portainer v2 and have about 12 containers, 7 of them are exposed via Traefik and they're all working fine. I'm trying to add Heimdall which is a much simpler app than everything else but it isn't working.
I'm getting a 404 externally but if I check curl locally on the docker container it's working fine.
Service, Router all look good, the forwarding IP/port is correct.
Traefik config (The certs are from a local Hashicorp Vault CA server, self hosted)
global:
checkNewVersion: true
sendAnonymousUsage: false # true by default
serversTransport:
rootCAs:
- ca_cert.pem
- ca_cert.crt
log:
level: DEBUG
api:
dashboard: true
insecure: true
ping: {}
entryPoints:
web:
address: :80
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: :443
forwardedHeaders:
trustedIPs=192.168.1.0/24
providers:
docker:
exposedByDefault: true # Default is true
watch: true
Labels, being applied:
traefik.enable: true
traefik.frontend.certFile: /home/portainer/certs/heimdall_cert.pem
traefik.frontend.keyFile: /home/portainer/certs/heimdall_key.pem
traefik.http.routers.heimdall.entrypoints: web,websecure
traefik.http.routers.heimdall.rule: Host(`heimdall.$DOMAIN`)
traefik.http.routers.heimdall.tls: true
traefik.http.services.heimdall-service.loadbalancer.server.port: 80
Command line:
docker$ curl -k https://heimdall
404 page not found
docker$ docker exec -it heimdall curl http://0.0.0.0 | head
<!doctype html>
<html lang="en">....