Dynamic nginx root based on the first URL segment
First of all, I’ve searched across the SO and elsewhere, but looks like I just can’t make this thing to work. I was “scraping” what other people tackled and trying to combine their solutions, but all I got was bunch of 404’s and redirect loops. I have no idea if any of the attempts were close enough to be posted as an almost-working one.