Nginx as proxy for Amazon S3 protected files
cedric.jeanneret at camptocamp.com
Wed Feb 10 10:04:29 MSK 2010
I found there's an apache module for S3 auth. Maybe it's possible to import it in nginx (with light modifications) ?
Here's the link : http://cpansearch.perl.org/src/IWADE/Apache2-S3-0.05/lib/Apache2/S3.pm
As far as I can see (not an expert, far of it!), one has only to change "apache2" with "nginx", and maybe some var names...
As we also need this kind of stuff, it would be really great if a module was done. Maybe if I have some time I can _try_ to do it, but I'm affraid it will not be before months :(
On Thu, 28 Jan 2010 09:54:20 +0100
Vicente Aguilar <bisente at bisente.com> wrote:
> >> i know Nginx could make for an excellent proxy for Amazon S3 files when
> >> there are publicly accessible.
> >> Did anyone ever setup Nginx to proxy files where the ACL ist set to
> >> "authenticated-read"?
> >> Nginx would have to generate signed URLs with the access key and expiry date
> >> for each request.
> > I believe at least someone did, try searching mailing list
> > archives. You probably need embedded perl to construct correctly
> > signed URLs though.
> I also need nginx to authenticate against S3. Have been looking through the list and on Google but couldn't find anything.
> Anyone has a link to such a project, if it exists? Else I'm gonna start looking into it.
> Thanks in advance
> nginx mailing list
> nginx at nginx.org
Cédric Jeanneret | System Administrator
021 619 10 32 | Camptocamp SA
cedric.jeanneret at camptocamp.com | PSE-A / EPFL
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: not available
More information about the nginx