Can I use Traefik's IP whitelist with Cloudflare for specific subdomains only?

Responsive Ad Header

Question

Grade: Education Subject: Support
Can I use Traefik's IP whitelist with Cloudflare for specific subdomains only?
Asked by:
78 Viewed 78 Answers

Answer (78)

Best Answer
(374)
Yes, you can. Traefik allows you to define different `entryPoints` and middleware rules for different domains or subdomains. You can configure the IP whitelist middleware to apply only to specific routes or domains that you want to protect with this method. This provides granular control over which parts of your application are directly accessible only through Cloudflare.