Bunny.net CDN (Pull Zone)
Stage 1: Setup Pull Zone
1) Add new pull zone in Bunny.net
2) Create a unique name for the pullzone

3) Select Origin Type URL
Origin Type URL4) Update Origin URL

5) Select your regions to replicate data

6) Add new Pull zone
Stage 2: Configure Pull Zone.
1) Force SSL

2) Setup SafeHop (retries on failures)

3) Add additional Headers (CORS)

Stage 3: Configure Mastodon and NGINX
1) NGINX Headers

2) Mastodon .env
3) Reload nginx and restart mastodon.
Troubleshooting

Notes
Last updated