Have S3 objects in a private bucket that you want to serve via nginx? Look no further.
ACCESS_KEY
- AWS Access KeySECRET_KEY
- AWS Secret KeyBUCKET
- the bucket namePREFIX
- a prefix to prepend to every key. (useful if you want to limit access to specific keys). optional.
docker run -e BUCKET=some_bucket -e PREFIX=key/prefix/ -e ACCESS_KEY=someKey -e SECRET_KEY=someSecret -p 80:80