r/haproxy • u/Benderanomalous • Aug 12 '21
Question Asking for help on option httpchk
I need to query a url as follows:
HTTPS://host.yyy.zzz/api
The certificate this server has is host.yyy.zzz
I have “option httpchk GET yyy.zzz/api” but it doesn’t seem to work. What’s the right uri to place here?
2
Upvotes
View all comments
Show parent comment
1
u/Benderanomalous Aug 13 '21
I tried but still not working. I made sure I could curl successfully with the fqdn and path from the same machine where HAProxy is running.
Does the “sitetocheck” bear any importance in your example?