Skip to content
Cloudflare Docs

Change the destination port

Create an origin rule to change the destination port.

The following origin rule overrides the destination port to 8081 for all requests where the URI path starts with /team/calendar/.

Text in Expression Editor:

starts_with(http.request.uri.path, "/team/calendar/")

Value after Destination Port > Rewrite to:

8081