Y
Hacker News
new
|
ask
|
show
|
jobs
by
zepolen
5821 days ago
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.