Closed BigSnicker closed 1 year ago
Very important new data point!
Static assets work fine when accessed via https://captain.deploy.green.ca, just not when chat2.green.ca is used!
This is true even after I delete the domain from captain and readd it.
Not sure what's going on... it might be possibly due to the fact that I made CDN prefix changes directly on leadership-1 node, and not via caprover?
It appears this is only happening in my firefox browser. chat2.green.ca seems to work fine in other browsers.
Hopefully this is just as local cacheing issue, so please ignore if everything works.
It should be working right know. Some notes:
VERY important notes for @Laurence-Montgomery as well! Thank you!
Gents,
My apologies, but I was trying to get static assets served via CDN and have managed to remove the static assets entirely!
I tried using the CDN prefix via the GUI, to get the static assets (only) served via Cloudflare at cdn.chat2.green.ca:
That broke everything, so I had to log into MongoDB and reset the CDN Prefix back to "" by hand (https://docs.rocket.chat/guides/administration/admin-panel/advanced-admin-settings/cdn)
That worked and helped recover the server, but the static assets (e.g. avatars) are no longer being served in the web clients.
It appears to still work correctly for the PC client, but that could just be due to cacheing.
Sorry!