Based on https://github.com/kennu/simply-static-s3 Updated for modern v4 API support and generic S3 providers.