Hello Ricardo,

On Thu, 11 Jul 2019 at 10:01, Ricardo Fraile <rfra...@idealista.com> wrote:
> I tried to set the list under single and double quotes, the error
> disappears but it didn't work. Using () and {} still had the error.
> Setting only one extension works, two, only with the first on the list.
>
> What is the right assignment to use in setenv?

setenv pxstatic ".gif .jpg .png"
setenv pxstatic '.gif .jpg .png'
setenv pxstatic .gif\ .jpg\ .png

all works fine (meaning the env is correctly set).

This is not a env var issue, but it looks like the config/acl
subsystem does not handle multiple patterns correctly when env vars
are used.

I have filed issue #165 for this:

https://github.com/haproxy/haproxy/issues/165


Let see if we can fix it.


cheers,
lukas

Reply via email to