Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
swindsor
on July 15, 2010
|
parent
|
context
|
favorite
| on:
How to use Amazon’s S3 web service for Scaling Ima...
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?
zepolen
on July 15, 2010
[–]
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.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: