Origins

Origins allows you to customize the source address of your Edge Application content, the Host header of your application, the path, and the HMAC authentication credentials for protected services.

An origin represents the server from which Azion retrieves your content, which can be an object storage service or a cloud server. Once an origin is connected to your application, edge nodes cache the content from the origin server and serve it to users upon a request.

ScopeResource
Edge Application first stepsFirst steps
Load Balancer moduleLoad Balancer

There are three options for you to customize your origin:

  • Single Origin: create one Address for each origin.
  • Load Balancer: add multiple Addressess and determine load weight and server role.
  • Edge Storage: select a bucket and path from the Azion Edge Storage service to serve the application.

When Load Balancer is selected as an origin type, you can configure the Balancing Method to determine how large amounts of requests are distributed among addresses, add multiple Addresses to your origin, and change the Sever Role and Weight of each address.

Learn more about Load Balancer

When Edge Storage is selected as an origin type, you must add the Bucket Name and Prefix.

The bucket name is defined when you create or modify an Edge Storage bucket.

The prefix is the path to the folder within the bucket that stores the objects. This field can be left blank if you wish your application’s origin to be the root of the bucket.

go to Edge Storage reference

The Host header is used by your origin to identify the virtualhost and locate your content or application. When configuring an origin in Real-Time Manager (RTM), you have the option to customize the value sent by Azion in the Host header.

If the Host Header field is left blank, Azion will use the same address specified in the Address field as the default. If your origin is configured to respond to a virtualhost using the same address as configured in DNS, you can leave the Host Header field empty.

However, if your origin responds to a virtualhost at an address different from the one set in DNS, you must fill in a custom value for the Host header in FQDN format, for example, www.yourdomain.com.

Alternatively, you can use the ${host} variable in the Host Header field to instruct the edge nodes to pass on the Host header received from your visitors to the origin. This setting is useful if you have multiple virtualhosts being served by the same origin.


Origin Path allows you to specify a custom path from which edge nodes will request your origin content. Azion appends the Origin Path to the URI when forwarding the request to your origin, but it doesn’t append the URI for user requests. For instance, if you determine that the path of your origin is under /secure and you have configured your application to be delivered through yourdomain.com, the /secure path won’t be part of the request to the end user.


To define an origin for your content, you need to specify the address of your server as either a domain name in FQDN format or an IPv4/IPv6 address. If you have defined the Origin Protocol Policy as Enforce HTTP or Enforce HTTPS, you can customize the origin port using the notation host:port.


Azion’s delivery architecture offers you the flexibility to tailor the type of connection between the edge nodes and your origin based on your specific requirements:

  • Preserve HTTP/HTTPS protocol: this option maintains the same connection protocol (HTTP or HTTPS) and ports used by your users when accessing your content on Azion. It ensures seamless continuity from Azion to your origin server.
  • Enforce HTTP: with this setting, the connection between Azion’s edge nodes and your origin will be exclusively through HTTP, regardless of the connection protocol and ports used by your users to access Azion’s content. You can customize a specific port for your origin in the Address field, deviating from the default port (80 for HTTP) if desired.
  • Enforce HTTPS: this option mandates the connection between Azion’s edge nodes and your origin to be exclusively through HTTPS, regardless of the connection protocol and ports used by your users to access Azion’s content. You can customize a specific port for your origin in the Address field, different from the default port (443 for HTTPS) if required.

For Single Origin, if the origin is located in an object storage with private access, you must provide HMAC authentication credentials. When enabling HMAC authentication, your private content will begin to be delivered to your users through Edge Application.

You should include in the HMAC access credentials given by your storage provider: Region, Access Key, and Secret Key.


Displays timeout setting in seconds pre-defined by Azion. To customize timeout values, contact the support team.


Contributors