Ok it seems I got myself a bit mixed up with the wildcard problem.
I testet *.domain.tld and didnt got it to work but it seems *doamin.tld
does the trick.
So this one seems to be solved :)
Regards
MArkus
Am 21.09.2017 um 11:59 schrieb rosjat:
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: [email protected]
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