COOK-3254 Allow app_nginx to work under solo

A continuation of #8 that moves the logic into the provider.