Report this

What is the reason for this report?

How can I customize healthcheck to make LB available

Posted on October 17, 2018

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.

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

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.