changed recipe for nginx and add handler for chef warning