Wednesday, May 29, 2024

Configure User-Agent is relayd HTTP Check ?

Hi,

Some web applications don't like when relayd connects to them, for health-checks, without providing a User-Agent HTTP header. They return an HTTP/418.

So something like
relay "ipv4" {  	listen on www.example.com port 443 tls  	protocol "https"  	forward to <phphosts> port 8080 check http "/health" code 200  }
will not work.

Is there a way to specify a User-Agent value for the check http or shall I rather tell relayd to validate on "code 418"?

Thank you,
Joel C.
--
Envoyé de mon iPhone

No comments:

Post a Comment