by swindsor · 16y ago · 0 comments
2. Good tip - we try to use our judgement here balancing good design/good performance. We tend to opt for a pretty website first, then go back and make it faster with optimization.
location ~ "/(.*)" {
root /whatever/$1;
You could even do: set $subdir $1;
so that it can be used in another location handler.