jfryman/puppet-nginx — pull request #310 by kalmanolah (2014-05-13 08:09:28+00:00)
Title: Use first server name for non-www redirects to prevent issues with naming of vhosts within defined types.

If I were to define a type named `reverse_proxy_vhost` and name the nginx vhosts inside `reverse_proxy_${name}` while providing custom values for `server_name` and setting `rewrite_www_to_non_www` to true, it would result in something like `reverse_proxy_mydomain.net` as the server name.

This PR resolves that.