How to deploy the Edge Application Proxy template
Preview
Edge Application Proxy includes configurations that add a layer of engine rules to ignore all cache settings for a specific URL route. These configurations use a standard rule based on criteria and behaviors applied through Rules Engine for Edge Application.
The rule is composed by:
- Criteria: if
${uri}
starts with/url_route
. - Behavior: then Set Origin
Default Origin
, Bypass Cache, and Forward Cookies.
You must link your origin with the template to start using this set of rules. After the deployment, the script creates a new edge application that runs on Azion Edge Platform, with which you can manage and adjust the settings.
Requirements
To use this template, you must activate:
You need to activate these modules via Azion Console. To do so:
- Access Console > Account menu
- Select the Billing & Subscriptions option.
- Select the Subscriptions tab.
- Activate the switch for each module.
Deploying the template
You can obtain and configure your template through the Azion Console. To easily deploy it at the edge, click the button below.
DeploySetting up the template
In the configuration form, you must provide the information to configure your application. Fill in the presented fields.
Fields identified with an asterisk are mandatory.
- Application Name *: the name of your edge application on Azion.
- Use a unique and easy-to-remember name. If the name has already been used, the platform returns an error message.
- Origin Address *: the address of the hosted origin the edge application should fetch the original content from.
- Example:
www.yourwebsite.com
- Example:
- Custom Host Header: in some cases, it may be necessary to add host information in the header request to retrieve information from the origin. This variable is used for that purpose.
- Example:
${host}
. Read more about the host header and how to customize it on the Origins documentation.
- Example:
- Route to bypass *: specific URL route to apply the bypassing rules.
- Example:
/url_route
- Example:
After completing all the information, click the Deploy button, located in the bottom-right corner. This will start the deployment process.
You’ll be able to follow the deployment process through a window showing off the logs. When it’s complete, the page shows information about the application and some options to continue your journey.
Now, you can you can manage and adjust the settings through this new Azion edge application.
Managing the template
Considering that this initial setup may not be optimal for your specific edge application, all settings can be customized at any time by using Azion Console.
To manage and edit your edge application’s settings, proceed as follows:
- Access Console.
- On the upper-left corner, select Products menu > Edge Application.
- You’ll be redirected to the Edge Application page. It lists all the edge applications you’ve created.
- Find the edge application related to the Edge Application Proxy* template and select it.
- The list is organized alphabetically. You can also use the search bar located in the upper-left corner of the list; currently, it filters only by Application Name.
After selecting the edge application you’ll work on, you’ll be directed to a page containing all the settings you can configure.
Learn how to deploy the Edge Application Proxy template. Watch the video below: