osuosl-cookbooks/osl-nginx — pull request #3 by armiller (2014-03-14 21:37:31+00:00)
Title: Vhost templates refactor

A method to manage nginx vhosts using attributes. There is a default template that will populate a vhost for every has that is passed in.
Example: test.example.com => {aliases => ['test.example.org', 'test.what.org'], custom_logs => true, custom_config => true, disable => true}
If you need custom configuration for a vhost you can create a include file in file/default/hostname/sitename_include.conf and then use custom_config => true.
I still need to write a read me to explain everything but I thought I would at least get this up.
nginx will not work with /sbin/rotatelogs so I used logrotate instead.