Thursday, September 21, 2017

relayd multiple values in match rules ?

Hi there,

in my battle with relayd I noticed that a line like

match request quick header "Host" value "domain.tld" forward to <webserver>

works perfectly for a request like http://domain.tld but breaks on
http://www.domain.tld

So I can add a new rule like

match request quick header "Host" value "www.domain.tld" forward to
<webserver>

and I'm good for the www part but it gets kinda silly if I have to add
more request. So basic question, because I didn't sow it in the
examples, is it possible to write someting like

match request quick header "Host" value "*.domain.tld" forward to
<webserver>

or at least

match request quick header "Host" value {"domain.tld" "www.domain.tld"}
forward to <webserver>


Regards

--
Markus Rosjat fon: +49 351 8107223 mail: rosjat@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220 fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
you print it, think about your responsibility and commitment to the
ENVIRONMENT

No comments:

Post a Comment