You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a reverse_proxy configuration here which uses an https endpoint as upstream. but the health check must take place on port 80 (http). i have configured this as far as possible.
Although I have defined port 80 in health_check, an https request is sent here and not an http request.
Aug 01 10:14:45 SIT-NLBP06.razor.k-sys.io caddy_custom[43523]: {"level":"info","ts":1722500085.501933,"logger":"http.handlers.reverse_proxy.health_checker.active","msg":"HTTP request failed","host":"SERVER01:80","error":"Get \"https://SERVER01:80/adfs/probe\": http: server gave HTTP response to HTTPS client"}
Aug 01 10:14:45 SIT-NLBP06.razor.k-sys.io caddy_custom[43523]: {"level":"info","ts":1722500085.5023623,"logger":"http.handlers.reverse_proxy.health_checker.active","msg":"HTTP request failed","host":"SERVER02:80","error":"Get \"https://SERVER02:80/adfs/probe\": http: server gave HTTP response to HTTPS client"}
Is there a way to configure this?
The text was updated successfully, but these errors were encountered:
I don't know if it's a good idea for a health check to use a different port, let alone a different protocol, than the actual requests. 🤔 It kind of defeats the purpose if what is being checked is totally different from what is being proxied.
Yes, I understand your point of view and you're not wrong. But then it makes no sense that I can specify the port at all.
My use-case is certainly a bit special here, but if that counts, in HAProxy you can specify the check port and protocol.
Hi,
I have a reverse_proxy configuration here which uses an https endpoint as upstream. but the health check must take place on port 80 (http). i have configured this as far as possible.
Although I have defined port 80 in health_check, an https request is sent here and not an http request.
Is there a way to configure this?
The text was updated successfully, but these errors were encountered: