API
The Gcore Customer Portal is being updated. Screenshots may not show the current version.
CDN
CDN
BillingCDN resources overviewOrigin groupPurgePrefetchReports
API
Chosen image
Home/CDN/Getting Started/Configure an origin/Add CDN servers to ACL

Add CDN servers to the origin ACL whitelist

If you have restrictions on your origin, there are two ways to whitelist the CDN servers:

  • via HTTP headers (recommended)
  • via CDN servers' IP addresses

Whitelist via HTTP headers

Use the Add Request Headers option to set up a custom header.

We recommend this method as it does not require any further update once it is set up. In contrast, the list of IP addresses must be regularly updated.

Whitelist via IP addresses

To get the IP addresses of the CDN servers, use this API request:

curl -i -X GET https://api.gcore.com/cdn/public-ip-list

Note: We are continually expanding our network, so the list of servers is constantly changing. If you fail to add the IP address of your new server to the whitelist, users will not be able to access content from that edge server.

We recommend that you write a script that automatically updates your ACL. New IP addresses are added to our list 30-60 minutes prior to launching a new server.

Was this article helpful?

Not a Gcore user yet?

Learn more about our next-gen CDN

Go to the product page