Bunny CDN on a self-hosted setup
Hosted plans deliver through Cloudflare. On a self-hosted setup, which we install and run for you, Bunny CDN can sit in front instead.
What the integration does
| Task | On Bunny CDN |
|---|---|
| Purge single URLs | Yes, through the same purge API. |
| Purge everything | Yes, the whole pull zone. |
| Purge by tag | Bunny has no tag purge, so a tag purge clears the pull zone. |
| Custom hostnames | Added to the pull zone, with a free certificate loaded for each. |
What it needs
A pull zone
Its numeric ID and an account API key, which we keep in the server configuration.
Vary by Accept
Turn it on so AVIF and WebP copies are cached apart. We send Vary: Accept on every image.
Your origin
The pull zone points at the Image Foundry server we run for you.
Is it for you?
If you already buy bandwidth from Bunny, or need images served from your own infrastructure, a self-hosted setup lets you keep that arrangement.
Related
Try it on one picture.
Free for 1,000 transformations a month. No card needed to start.