Red Hat Bugzilla – Bug 809222
Set server identity (-i) through sysconfig file
Last modified: 2013-11-06 09:36:53 EST
Since each varnish server could be part of a server farm, it would be nice if /etc/sysconfig/varnish had a user-definable variable, ``VARNISH_IDENTITY``, which would then be used in the ``-i`` command line option of varnishd.
When ``-i`` is used, the identity string is available in the vcl as the ``server.identity`` variable and could be used to form special informative headers about the server that served the request.
This would be a change for upstream. I don't think I'll add this to the EPEL package at this point.
It is quite trivial to add configuration that adds this by hand anyway. Just add the necessary options to DAEMON_OPTS in /etc/sysconfig/varnish.
Closing as NOTABUG.