Don't use nginx anymore; just use Cowboy

Cowboy can do all what we need too, and it does it well :)