Hi,

On Wed, Feb 20, Baptiste wrote:
> I would use a variable instead of a header:
>   http-request set-var(req.myvar) req.hdr(host),concat(,path)

Nitpicking here: AFAIK this won't work as is, because concat expects a variable
(https://cbonte.github.io/haproxy-dconv/1.9/configuration.html#7.3.1-concat)

(so something like:
http-request set-var(req.mypath) path
http-request set-var(req.myvar) req.hdr(host),concat(,req.mypath)
(but I guess there are other ways to do this)).

-Jarno

-- 
Jarno Huuskonen

Reply via email to