WIP - basic intelligent nginx config