Getting started guides
Find the guides and tutorials on getting started with applications in one list, each with a summary of what it covers.
This section holds the guides and tutorials on getting started with applications.
Add a rule to an application from Azion Console, the Azion CLI, or the API, and apply a cache setting to every path that starts with /static/.
Ask a coding agent connected to the Azion build MCP server to preview a Rules Engine rule with dry_run, review the request, and create the rule.
Enable Application Accelerator, Image Processor, or Functions on an application from Azion Console, the Azion CLI, or the API, then read its state.
Choose the HTTP and HTTPS ports a workload listens on, and send each port to an origin port, from Azion Console, the Azion CLI, or the API.
Rewrite the path an application requests from the origin, and remove a header from the response, with two rules created in Azion Console.
Add Response Phase rules that send CORS headers for GET, POST, and HEAD requests, for complex requests, or for a list of allowed origins.
Fix the Cannot load M3U8 crossdomain access denied message that JW Player shows when it plays a live stream delivered by Azion.
Serve a status or error page from the Hello World function on an application, with a function instance and a Rules Engine rule, and no request to the origin.
Copy an application and its settings into another application from Azion Console, then deploy the copy on a workload to serve it.
Give a workload a free azion.app hostname that Azion serves over HTTPS, from Azion Console, the Azion CLI, or the API.
Create a device group that matches the User-Agent header in Azion Console, then confirm it with a rule that adds a response header.
Replace the error responses of a workload with your own pages, one per status code, each with its own cache time and response status code.
Turn on Debug Rules for an application and read the rules each request ran in the GraphQL API, Data Stream, or Real-Time Events.
Create a connector to an HTTP origin, then send the requests of an application to it with a Rules Engine rule, from Azion Console or the API.
Serve a private S3-compatible bucket through a Connector by signing each origin request with HMAC credentials.
Choose the Host header a Connector sends and the path it prepends, so the origin serves the right site and directory.
Delete an application and the rules and cache settings it holds from Azion Console or the Azion API. The deletion cannot be undone.
Fix a request that the browser blocks under the CORS policy by adding the Access-Control-Allow-Origin header with a Response Phase rule.
Bind a function to an application from Azion Console or the Azion API, name the instance, and pass its Args in JSON.
Remove the Proxy header from requests to an application with a Rules Engine rule, so that HTTPoxy requests cannot redirect outgoing traffic.
Map your domain to an Azion IP address in your device's hosts file to open an application on that domain before you change its DNS records.