Create an origin rule to change the destination port.
Examples
Create an origin rule to change the HTTP Host header.
Define a single origin rule using Terraform
Create an origin rule using Terraform to override the Host header, the resolved hostname, and the destination port of API requests.
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Products
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark