DRYing up some code and improving extensibility with Nginx configuration LWRPs

Replaced old-school definition with modern LWRP.
https://github.com/sportngin-cookbooks/opsworks-passenger/pull/5