On Wed, Feb 20, 2019 at 3:25 PM Joao Morais <l...@joaomorais.com.br> wrote:

>
>
> > Em 20 de fev de 2019, à(s) 02:51, Igor Cicimov <
> ig...@encompasscorporation.com> escreveu:
> >
> >
> > On Wed, 20 Feb 2019 3:39 am Joao Morais <l...@joaomorais.com.br wrote:
> > Hi Willy,
> >
> > > Em 19 de fev de 2019, à(s) 01:55, Willy Tarreau <w...@1wt.eu> escreveu:
> > >
> > >     use_backend foo if { var(req.host) ssl:www.example.com }
> > >
> > This is a nice trick that I’m planning to use with dynamic use_backend.
> I need to concat host (sometimes ssl_fc_sni) and path. The question is: how
> do I concatenate two strings?
> >
> > Something like this:
> > http-request set-header X-Concat
> %[req.fhdr(Authorization),word(3,.)]_%[src]
> >
> Hi Igor, this is almost the same workaround I’m using - the difference is
> that I’m moving the result to a req.var and removing the header after that.
> Wondering if 1.8 has a better option
>
> ~jm
>
>
Well, set-var should do the trick, or I missed something.

Baptiste

Reply via email to