About This Service
The BunnyCDN Connector for Ghost is a Node.js service that registers and processes webhooks to automatically invalidate the cache of BunnyCDN.
For more information, visit the project repository.
Features
- Automatic webhook registration on startup & deregistration on shutdown
- Real-time BunnyCDN cache invalidation of changed page and homepage
- Health check via
/healthendpoint
Configuration
The application can be configured via environment variables. Here are the most important ones:
GHOST_URL: The URL of your Ghost CMSGHOST_CDN_BASE_URL: The base URL of your public websiteGHOST_ADMIN_API_SECRET: The Admin API Secret of your Ghost CMSGHOST_WEBHOOK_TARGET: The URL to which webhooks are sentGHOST_WEBHOOK_SECRET: The secret for webhook authenticationBUNNYCDN_API_KEY: Your API key for BunnyCDN