DRYing up some code and improving extensibility with Nginx configuration LWRPs