Le 27/01/2017 à 20:11, Ciprian Dorin Craciun a écrit :
On Fri, Jan 27, 2017 at 9:01 PM, Cyril Bonté <[email protected]> wrote:
Instead of using "unique-id-header" and temporary headers, you can use the
"unique-id" fetch sample [1] :

frontend public
    bind *:80
    unique-id-format %{+X}o\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid
    default_backend ui

backend ui
    http-request set-header X-Request-Id %[unique-id] unless {
req.hdr(X-Request-Id) -m found }


Indeed this might be one version of ensuring that a `X-Request-Id`
exists, however it doesn't serve a second purpose

And that's why I didn't reply to your anwser but to the original question ;-)

--
Cyril Bonté

Reply via email to