hello,

update:

I found this gist and it's recent enough to think the relayd syntax
didn't change that much:

https://gist.github.com/morgant/f29bef43e6729e29612754a027744fb1

I saw he always use tables to forward so now have

table <bb> {www1}

http protocol katzele {
        pass request header "host" value "something.codelib.re" \
                forward to <bb>
}

this syntax is correct but I had to ditch the port to make it so.

At 
https://gist.github.com/morgant/f29bef43e6729e29612754a027744fb1#file-relayd-conf-L93,
the relay uses multiple forwards without condidtions so I wondered if
it's based on already selected bases. I tried

relay katzele {
___ listen on vio0 port 8200
___ protocol katzele
___ forward to <bb> port 8200
___ forward to prometheus port 80
} 

now everything goes to :8200. I feel I'm getting closer.

regards

-- 
Marc Chantreux

Attachment: signature.asc
Description: PGP signature

Reply via email to