embedded perl

David Phillips david at acz.org
Wed Apr 11 23:45:10 MSD 2007


On 4/11/07, Jonathan Vanasco <nginx at 2xlp.com> wrote:
> my setup will have me querying postgres for every url to find the
> correct url on amazon's s3  which i proxy for.

Have you considered using deterministic S3 object keys (for example,
using a hash)?  This allows you to avoid the database entirely.  You
could add hash support to the rewrite module.

nginx's proxy module does not block.  If your S3 objects are not
publicly readable then you could modify the proxy module to support S3
request signing.





More information about the nginx mailing list