I’m using Teaefik with Pangolin proxy self hosted. I’m running into an issue where I need to issue the SSL certificate with the host behind my proxy. However, it looks like Traefik is intercepting these HTTP requests and returning a 404 rather than passing on the request to the host behind the proxy. I think this maybe changed with an update because it used to work fine and now I’m unable to renew my certificate.
How can I configure Traefik to pass on the request instead of 404? I’m just seeing in the logs github.com/traefik/traefik/v3/pkg/provider/acme/challenge_http.go:110`` > Cannot retrieve the ACME challenge.
I attempted to add something to dynamic_config.yml to match the path but it still returned a 404.
mailcow-acme:
rule: "Host(mailcow.example.com) && PathPrefix(/.well-known/acme-challenge/)"
entryPoints:
- web
service: mailcow-acme-svc
services:
mailcow-acme-svc:
loadBalancer:
servers:
- url: "http://192.168.8.20:80"
I just need the cert to validate for my mailcow server, but I specifically need port 80 to go through the proxy, the other ports I can forward directly. So this means I somehow need to validate the cert in two places.