If you have restrictions on your origin, there are two methods to whitelist the CDN servers:
- via HTTP header (recommended)
- via CDN servers' IP addresses.
Use the Add Request Headers option to set up a custom header.
We recommend the header because once set up it doesn't require any further update. The list of IP addresses has to be updated regularly.
To get CDN servers' IP addresses use the API request:
curl -i -X GET https://api.gcdn.co/cdn/public-ip-list
Note! We are expanding our network, so the list is constantly changing. If you don't add a new server IP to your whitelist, users won't get the content from this edge.
We recommend you to write a script that would automatically update your ACL. New IP addresses are added to our list 30-60 minutes before a new server is launched.