NGINX as an Amazon S3 authentication proxy
01 März 2011 von Bernd Dorn, gepostet in Allgemein, cloud, development, sysadmin und Web (2.0)
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 ...