Bug 809222 - Set server identity (-i) through sysconfig file
Summary: Set server identity (-i) through sysconfig file
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: varnish
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Ingvar Hagelund
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-02 19:05 UTC by George Notaras
Modified: 2013-11-06 14:36 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-11-06 14:36:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description George Notaras 2012-04-02 19:05:56 UTC
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.

Comment 1 Ingvar Hagelund 2013-11-06 14:36:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.