On 06/01/2015 08:42 μμ, Cyril Bonté wrote:
> Hi Pavlos,
> 
> Le 06/01/2015 20:17, Pavlos Parissis a écrit :
>> Hi,
>>
>> According to the docs I can have the following snippet
>>
>> http-request add-header Nodename %[env(HOSTNAME)]
>>
>> to set the hostname as the value on a header. But, it doesn't work. I
>> network trace and Nginx logs show no value.
> 
> Please ensure that you exported the environment variable first, to make it
> available to the process.
> 

Oh boy, I am an idiot:-(

Thanks a lot Cyril,
Pavlos

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to