Finish getting app configured and behind nginx

@trumant PR for working cookbook.
@brucewillke I don't remember why we decided to go with the database cookbook. Do you?