> use_backend %[req.hdr(host),lower]
Is there anyway to extract the host subdomain to use like this (rather than
the full hostname)? I can't see any obvious way to do it from the manual,
but perhaps I'm missing something.
On 14 November 2015 at 22:14, SL wrote:
> @Igor - thanks, I didn't know
> use_backend %[req.hdr(host),lower]
Is there anyway to extract the host subdomain to use like this (rather than
the full hostname)? I can't see any obvious way to do it from the manual,
but perhaps I'm missing something.
@Igor - thanks, I didn't know about that map feature, I think it could be
useful in a number of situations.
@Baptiste - Ah, it is possible dynamically, that's great - thank you!
On 14 November 2015 at 22:05, Baptiste wrote:
> On Sat, Nov 14, 2015 at 3:21 PM, SL wrote:
> > Hi,
> >
> > We have q
Can maps be used with 'use-server' in listen or backend sections similarly
to how it can be used with 'use_backend'?
On Sat, Nov 14, 2015 at 1:06 PM Baptiste wrote:
> On Sat, Nov 14, 2015 at 3:21 PM, SL wrote:
> > Hi,
> >
> > We have quite a large number of backends, and are selecting which bac
On Sat, Nov 14, 2015 at 3:21 PM, SL wrote:
> Hi,
>
> We have quite a large number of backends, and are selecting which back end
> to use based on the host specified in the request. (Note these are not
> loadbalanced, we have to target them individually).
>
> Currently we are doing this with ACLs,
On Sun, Nov 15, 2015 at 1:21 AM, SL wrote:
> Hi,
>
> We have quite a large number of backends, and are selecting which back end
> to use based on the host specified in the request. (Note these are not
> loadbalanced, we have to target them individually).
>
> Currently we are doing this with ACLs
Hi,
We have quite a large number of backends, and are selecting which back end
to use based on the host specified in the request. (Note these are not
loadbalanced, we have to target them individually).
Currently we are doing this with ACLs, e.g. for each:
acl svr1_request hdr_beg(host) -i s
7 matches
Mail list logo