New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add google cloud storage support in addition to S3 #1110
Comments
Doesn't Google Cloud Storage have a S3-compatible API? In that case you simply need to specify |
Ah, you're right! I didn't realize that! Should work fine, thank you! |
Sorry to resurrect an already closed issue, but it appears that Google Cloud Storage is having hard time with the "Expires" header set in Paperclip::Attachment.default_options[:s3_headers] = { 'Cache-Control' => 'max-age=315576000', 'Expires' => 10.years.from_now.httpdate } to Paperclip::Attachment.default_options[:s3_headers] = { 'Cache-Control' => 'max-age=315576000' } was enough to convince Google Cloud Storage to cooperate. I created pull request #1886 for this, just in case if it's ok to drop the header. |
…mprove_reply_tree Revert "Revert "Improve reply tree""
I see S3 support for shared media storage across multiple linked Mastodon instances. This is great! but it'd be nice to also have Google Cloud Storage support for running on their cloud / Kubernetes.
The text was updated successfully, but these errors were encountered: