News for hackers. Stuff that matters.
Re:How to use Amazon’s S3 web service for Scaling Image Hosting by swindsor on Wednesday July 14, 2010 @08:41PM (#1516464)
Oh, that's cool - I didn't know you could use matches from a location in an alias. Is that a new feature in nginx?
Re:How to use Amazon’s S3 web service for Scaling Image Hosting by zepolen on Wednesday July 14, 2010 @11:11PM (#1516824)
I think it's always been a feature of nginx:

    location ~ "/(.*)" {
        root /whatever/$1;
You could even do:

        set $subdir $1;
so that it can be used in another location handler.