Servers
Define upstream server aliases and URLs for the Serverless API Gateway. Route API traffic to backend services via config-driven server entries.
Last updated
Define upstream server aliases and URLs for the Serverless API Gateway. Route API traffic to backend services via config-driven server entries.
The servers section is an array of objects where each object represents a server configuration.
alias: A shorthand name for the server.
url: The full URL to access the server.
Example
"servers": [
{
"alias": "ngrok",
"url": "https://a8ee-176-88-98-23.ngrok-free.app"
}
]Service Binding -- bind to Cloudflare Workers instead of external HTTP servers.
Paths -- reference server aliases in path integration settings to route requests.
Configuration Guide -- full configuration reference including servers, CORS, and authorization.
\
Last updated