Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Tweak S3 command and nginx config #3

Merged
merged 1 commit into from
Jan 13, 2019
Merged

Conversation

nolanlawson
Copy link
Contributor

Thanks for merging my last PR! I found a couple more things that folks should do when migrating to S3. This adds the proper caching header, as defined in the latest version of Mastodon: mastodon/mastodon#9722 . It also ensures that non-custom emoji are properly served with immutable caching via nginx.

It's no fun going back and recursively adding the right cache headers to every object in S3; hopefully this will save some folks that extra step. 😅

Thanks for merging my last PR! I found a couple more things that folks should do when migrating to S3. This adds the proper caching header, as defined in the latest version of Mastodon: mastodon/mastodon#9722 . It also ensures that non-custom emoji are properly served with immutable caching via nginx.

It's no fun going back and recursively adding the right cache headers to every object in S3; hopefully this will save some folks that extra step. 😅
@chr-1x
Copy link
Collaborator

chr-1x commented Jan 13, 2019

Thanks for the update!

@chr-1x chr-1x merged commit 62ecf7d into cybrespace:master Jan 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants