Error executing action `start` on resource 'service[nginx]'
The log is quite clear I think:
STDERR: nginx: [emerg] invalid log level "pid" in /etc/nginx/nginx.conf:5
your nginx.conf.erb file as somewhere a problem as it writes a log_level = pid instead of info/error.
This has not much to do with Chef. The important detail is:
nginx: [emerg] invalid log level "pid" in /etc/nginx/nginx.conf:5