Insights Cloudfront CDN configuration (#3961)
* Initialize INSIGHTS_CLOUDFRONT to null * Put cloudfront domain under INSIGHTS_CONFIG * Use INSIGHTS_CLOUDFRONT_DOMAIN in insights config * Define INSIGHTS_CLOUDFRONT_DOMAIN null by default * Set CORS_ORIGIN_WHITELIST to INSIGHTS_DOMAIN * Add CORS header to Insights static files * Split CORS whitelist into default and extra * Allow HEAD, GET, OPTIONS in Insights static * Try setting CORS Origin to $http_origin * Use if cond to enable/disable CORS instead of map * Missing space * Don't initialize $cors * Back to the old $cors_origin map * Don't send CORS whitelist to django settings * Replace tab with spaces * Remove allow_all var, and update changelog * Rename CLOUDFRONT to CDN in var name
Showing
Please
register
or
sign in
to comment