Summary: Utilize Google Cloud CDN with secure media!
Secure Media is a great feature of Discourse, however there is no built-in CDN support. This plugin adds support for Google Cloud CDN’s signed links implementation.
- Secure Media must be enabled
- Google Cloud Storage bucket
- Your S3 CDN URL must be set and Google Cloud CDN properly configured
Head to the LB Backends page and select your backend bucket.
Click edit, and open the advanced configurations panel.
Set the restricted content setting to signed urls and cookies, then create a signing key.
Set the signing key value (
cdn_signed_urls_key) and key name (
cdn_signed_urls_key_name) that you generated earlier.