NGINX as an Amazon S3 authentication proxy
04 Mar 2011 from Bernd Dorn, postet in Allgemein
In a project we did recently, we had the requirement to have a
private Amazon S3 bucket as an upstream for an nginx server. There is already an
existing AWS auth module but it only supports GET requests. So we decided to achieve the same result by doing the signature generation directly via nginx configuration directives. The only things missing were the hmac and base64 methods, which we then implemented it the very useful
set-misc-module.
In order to show the details we've created a
github repository with nginx-examples to share the idea with the community.
happy NGINX coding, the lovely Team ...