3 messages in ru.sysoev.nginxRe: embedded perl
FromSent OnAttachments
Jonathan VanascoApr 11, 2007 12:10 pm 
David PhillipsApr 11, 2007 12:44 pm 
Jonathan VanascoApr 11, 2007 1:30 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: embedded perlActions...
From:David Phillips (davi@public.gmane.org)
Date:Apr 11, 2007 12:44:47 pm
List:ru.sysoev.nginx

On 4/11/07, Jonathan Vanasco <nginx-GYD5gbT+W3@public.gmane.org> 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.