On Mon, Aug 29, 2016 at 08:34:12AM -0400, Robert Blayzor wrote:
> rewrite r_host { set(`HOSTNAME`, value("HOST")); };
The backticks replace content, so you end up with a literal in your config.
Try this instead:
rewrite r_host { set("`HOSTNAME`", value("HOST")); };