added nginx recipe as it is in https://github.com/aws/opsworks-cookbooks/tree/release-chef-11.10/nginx
added a nginx non-www to www redirection rule based on regular expression