Hello,

On Fri, Nov 24, 2023 at 01:56:14PM +0000, Payne Max wrote:
> Thank you for participating, Willy!
> 
> Yes you're right.
> 
> I can agree only partially with your proposal, it have sense, but let's 
> imagine we have this backend section:
> 
> backend be_myapp
>   server srv1 10.0.0.1:80 check port 8080
> 
> and we're trying to use external-check, currently we will receive
> HAPROXY_SERVER_ADDR - 10.0.0.1
> HAPROXY_SERVER_ PORT - 80
> 
> and after my change additionally
> 
> HAPROXY_SERVER_CHECK_PORT - 8080

OK so that's what I understood, thanks!

> But there is no addr in check directive. Might be in future someone will add 
> support of
> 
> server srv1 10.0.0.1:80 check addr 10.0.0.2 port 8080
> 
> and it will have sense to add HAPROXY_SERVER_CHECK_ADDR - 10.0.0.2 but 
> currently ... I only need these `check port`.

Yes that's what I asked for, for consistency.

Thanks,
Willy

Reply via email to