Cloudflare load balancer and Heroku host: header

I have a Cloudflare load balancer that points to and based on latency. However, Heroku requires that the Host: header be set to the final destination “Heroku app” and it seems the load balancer sends in the host header to both the eu and us servers.

I know Cloudflare supports [host header rewrites] ( on the Enterprise plan but can these be used in combination with the load balancer?

This topic was automatically closed after 30 days. New replies are no longer allowed.