Hi! Could https://caddyserver.com/docs/proxy please have an example of what happens if the proxying site fails a health check?
Like some sort of “We will be back soon” placeholder page?
Or is it a better practice to replace 502 Bad Gateway ?
Hi! Could https://caddyserver.com/docs/proxy please have an example of what happens if the proxying site fails a health check?
Like some sort of “We will be back soon” placeholder page?
Or is it a better practice to replace 502 Bad Gateway ?
I would recommend setting an error page for 502 using the errors
directive.