Janyk
I would like to have the ability to specify a custom Host header. Currently, I have a few endpoints behind Cloudflare but I would like to put up a monitor on the origin server with Host header so the webserver returns the correct app.
Currently this is possible by adding a custom header in the check, but when doing this, it fails the certificate check.
Hostname https://xxx.xxx.xxx.xxx is not included in certificate. Covered hostnames are: app.hostname.com
Janyk
Item authorI currently have it set up like this, but this will create an incident for an incorrect cert:
Bjarn Bronsveld
That's interesting, thanks. I'll take a closer look at this and let you know.
Bjarn Bronsveld
@Janyk Apologies for this to take so long, I just put it back on my radar.
Anyway;
I think this behaviour is correct, however, what you're looking for possibly is the option to force resolving a hostname to an IP address (https://curl.se/libcurl/c/CURLOPT_RESOLVE.html).
If this is what you're looking for, I can add it as it might be interesting to others too :)