[COOK-3254] Allow app_nginx to work under solo

https://tickets.opscode.com/browse/COOK-3254

A continuation of #8 that moves the logic into the provider.