Thanks! I’m happy to figure out and work with JSON.
So I took the example exactly from the documentation on the home page, changing just the IP and ports which continues to exhibit the same behavior as my recorded demo :
127.0.0.1:2016 # Your site's domain name
# Load balance between three backends with custom health checks
reverse_proxy 127.0.0.1:8050 127.0.0.1:8051 {
lb_policy random_choose 2
health_path /ok
health_interval 10s
}
Then just to see if things were otherwise set up correctly I tested this which works as expected :
127.0.0.1:2016 # Your site's domain name
reverse_proxy 127.0.0.1:8050 {
}
So I’m thinking the very nice looking example from the home page: https://caddyserver.com/
with the heading:
HTTPS reverse proxy with custom load balancing and active health checks
is not actually working. Of course, I could be doing something silly, but as you can see I’m trying all the things I can think of.
I even switched out the simple test http server from node: “http-server -p 8050” to “python -m SimpleHTTPServer 8050” . Same result, working when tested directly.