You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# only include the following if you followed the previous step
100
+
proxy_cache_key "$bucket$uri";
101
+
proxy_cache_valid 200 302 7d;
102
+
proxy_cache_methods GET HEAD;
103
+
proxy_cache_background_update on;
104
+
proxy_cache_use_stale updating;
105
+
proxy_cache asset_cache;
106
+
90
107
}
91
108
# ...
92
109
}
93
110
```
94
-
111
+
Keep in mind your bucket URL might be different depending on your AWS region. For example, you might need to change it to `https://s3.amazonaws.com/$bucket$uri` instead.
95
112
Also make sure your S3 bucket policies are configured correctly, so that only `/media` is publicly readable. For example:
0 commit comments