Hacker News new | ask | show | jobs
by cyberpunk 1294 days ago
> "We can then leverage Mastodon’s S3 feature to write the “hot” data directly back to Digital Ocean using a reverse Nginx proxy."

How does that work?

1 comments

Digital Ocean offers S3 compatible storage.

I guess they use Nginx to reroute traffic which by default is targeting aws.amazon.com?

I think the default is "files-off-disk" image serving (hence NFS, etc). This can be replaced by S3 storage, with the URLs remaining the same (or maybe redirected, if you don't want to pay the bandwidth bill twice).

Disclaimer: I have this setup using Humanmade/S3-uploads for WordPress, but am not currently running Mastodon.