componentising nginx
more tutorial