Port redirection
Is there any means to reroute requests to a different port based on e.g, hostname? For example this is what implicitly occurs when CF unwraps TLS over port 443, rerouting it to port 80 on the host, when "Flexible" is enabled.
2 Replies
You can also use origin rules to change destination port. https://developers.cloudflare.com/rules/origin-rules/
Origin Rules (beta) · Cloudflare Rules docs
Origin Rules allow you to customize where the incoming traffic will go and with which parameters. Currently you can perform the following overrides:
Great. Thanks.