Describe the feature you'd like
Forward original Host header to local service.
It would allow a simple one rule catching of all hostnames and forwarding it to local proxy service which have all nitty gritty details configured that would be hard to do in cloudflared.
Describe alternatives you've considered
For massive deployments with many zones generating and maintaining big config file for cloudflared.
It includes a lot of duplicate entries with httpHostHeader same name as hostnames it catches.
It's very cumbersome.
Yep, I would very much like to see this implemented as well. Same issues arise with cloudflared tunnels (as reverse proxies to localhost devices and such). They show up as blank pages or the like..
Describe the feature you'd like Forward original
Host
header to local service. It would allow a simple one rule catching of all hostnames and forwarding it to local proxy service which have all nitty gritty details configured that would be hard to do in cloudflared.Describe alternatives you've considered For massive deployments with many zones generating and maintaining big config file for cloudflared. It includes a lot of duplicate entries with
httpHostHeader
same name as hostnames it catches. It's very cumbersome.Additional context Related issue which implemented overwriting
Host
header but it doesn't allow to forward original one yet: https://github.com/cloudflare/cloudflared/issues/111