All routing examples use the
forward-internal action to send traffic to internal endpoints.
See the action reference for configuration details.Routing methods
| Method | Use case |
|---|---|
| By subdomain | Multi-tenant apps, customer-specific routing |
| By path | API versioning, microservice routing |
| By header | Customer routing, feature flags, A/B testing |
| By cookie | Session-based routing, sticky sessions |
| By query parameter | Debug routing, testing environments |
| By geographic location | Regional routing, compliance |
| By IP intelligence | Bot detection, threat-based routing |
| By device type | Mobile vs desktop experiences |
| By client certificate | mTLS-based service routing |
By subdomain
Route requests fromhttps://*.example.com to corresponding internal services.