Making progress after getting my head around a few things in the docs that were either misleading, confusing or just too much for someone that has BBS. ![]()
For us BBS folks putting this in flashing red would help convey “you will need two Cloudfront distributions”.
and some instruction on how to
Some updating and consolidating of S3 related topics would be very cool. I think one master topic with current data for AWS S3 CDN and Backups would be awesome.
moving on…
I have two Cloudfront distributions now but:
- The throbber persists https://discuss.repealobbba.org/
- Some assets are not visible in the uploads bucket
- some assets are trying to load in the backups bucket
- obvious numerous erorrs in console i.e. The resource at “https://discourse-cdn.repealobbba.org/stylesheets/common_theme_6_1f8270be80babb5906f2dfb4fa157b7d9f9d12f8.css?__ws=discuss.repealobbba.org” was blocked by OpaqueResponseBlocking. Reason: “after sniff: status code is not in allowed range”.
- I am not certain my implementation of two distributions is correct.
All the rakes execute without error and
and this no longer causes a bootstrap failure.
after_assets_precompile:
- exec:
cd: $home
cmd:
- sudo -E -u discourse bundle exec rake s3:upload_assets
- sudo -E -u discourse bundle exec rake s3:expire_missing_assets
CDN checker looks more like a desirable result
All in all progress but some tips from the Discourse infrastructure team would be very helpful.
