Bunny.net CDN (Pull Zone)
Example:
mastodoninstancestatic
or similar.
Place the original FQDN of your instance in the Original URL.




Add `,js, gz` to the Extension list.
Example: `eot, ttf, woff, woff2, css, js, gz`

Add
Access-Control-Allow-Origin
header to nginx all locations.
Example: add_header Access-Control-Allow-Origin "https://aussocialstatic.b-cdn.net";

These paths are heavily used for static files... but the header might be required in multiple locations in the nginx conf
Add
CDN_HOST
to .env.production Example:
CDN_HOST=https://aussocialstatic.b-cdn.net
The OCR (Optical character recognition) might fail if you missed gz from the extension list.

Do we need to add to svg to the CORs?
Last modified 4mo ago