alphagov/pp-puppet — pull request #417 by robyoung (2014-05-13 13:21:42+00:00)
Title: Fix graphite

Add $upstream_hostname to proxy_vhost define. Nginx uses the name of the upstream as the proxy hostname unless you explicitly tell it otherwise. We do this by forwarding the incoming hostname for all vhosts except graphite. This parameter allows us to explicitly set the upstream hostname for the graphite vhost.