Describe the feature you'd like
Currently, I have a several sites that are on a single host that are only accessible through the Cloudflare Tunnel. Once the request reaches the host, it is completely fine for the TLS to be terminated. However, if I forward the request to http://localhost then the application believes it was received on HTTP (despite the incoming request being HTTPS).
Describe alternatives you've considered
- Create a valid certificate for each hostname
- Create a self-signed certificate for each hostname and instruct
cloudflared to ignore TLS verification
- Modify each application to assume
https rather than http
- Add an
X-Forwarded-Proto to the Request Header rules in Cloudflare (which seems unsafe)
Additional context
I feel like in previous versions this was the case, but at some point maybe it changed?
I really want to be able to have a service at http but the request indicates that it was received on https
Describe the feature you'd like
Currently, I have a several sites that are on a single host that are only accessible through the Cloudflare Tunnel. Once the request reaches the host, it is completely fine for the TLS to be terminated. However, if I forward the request to
http://localhostthen the application believes it was received on HTTP (despite the incoming request being HTTPS).Describe alternatives you've considered
cloudflaredto ignore TLS verificationhttpsrather thanhttpX-Forwarded-Prototo the Request Header rules in Cloudflare (which seems unsafe)Additional context
I feel like in previous versions this was the case, but at some point maybe it changed?
I really want to be able to have a service at
httpbut the request indicates that it was received onhttps