I have a third party closed source app which is not designed to answer the standard/expected http status 200 on HEAD /
, but supports another URL.
How can I change the LB’s healthcheck definition to set the expected URL instead of /
(which I presume is the default setting)?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hi again
I posted a possible solution for this but DO marked it as spam. Here it is in pastebin. Hopefully this one gets past the spam filter:
https://pastebin.com/raw/eS544WYT
Hey friend!
There is currently not a way to customize that I’m afraid. Building a custom LB with HAProxy or Nginx would probably be ideal in this case. I even use Caddy for my own load balancing, just because I absolutely love the configuration style:
https://caddyserver.com/docs/proxy
<3 Jarland
Join me in an experiment in community engagement? https://discord.gg/sw8DmeY