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.


While the following works.
http-request add-header Nodename %H

I am using 1.5.10 version.

I also failed to find in the doc the list of environment variables that
can be used. Any ideas where I should look in the code?

Any environment variable you want.


Cheers,
Pavlos



--
Cyril Bonté

Reply via email to