I'm using Traefik 3 and I'd like to pass-through all unmatched traffic to another reverse proxy.
First question, is it possible to define a router with no rule ? (which would get a 0 priority) Is it going to sweep all the remaining traffic ?
Second question, will I be able to also delegate the SSL offloading to the other proxy since I'm already redirecting the 80 from Traefik ?
And lastly:
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: "websecure"
scheme: "https"
websecure:
address: ":443"
http:
routers:
fallback:
service: fallback
entrypoints: web
services:
fallback:
loadBalancer:
servers:
- url: "http://fallback-proxy"
This doesn't seem to do the job, it's still trying to do the TLS handshake on the first proxy, I guess because it's getting redirected before reaching my fallback
router.
For the record, why do I need to use 2 reverse proxy ? I'm actually trying to migrate my services from the proxy 1 to the proxy 2 and I need to do it progressively so there is not too much downtime