Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

probe_resistance for HAProxy? #690

Open
gili-gili opened this issue Dec 11, 2024 · 2 comments
Open

probe_resistance for HAProxy? #690

gili-gili opened this issue Dec 11, 2024 · 2 comments

Comments

@gili-gili
Copy link

caddy有个功能叫做probe_resistance,可以在验证无效的时候正常返回网页,请问haproxy可不可以这样?我用的是haproxy做判断,如果是http connect方法就转到Naiveproxy/Tinyproxy,因为用host判断不行,很奇怪
如果不行的话,我使用haproxy配合caddy可以吗?我之前这样做不行,haproxy一直抱错,caddy也没有受到请求,caddy是关闭tls的

@gili-gili
Copy link
Author

补充一下,我现在用的方法是wiki给的,在haproxy验证,验证好了转给naiveproxy。
然后haproxy转发给caddy那个方法,验证设置在caddy那里

@klzgrad
Copy link
Owner

klzgrad commented Dec 12, 2024

wiki里面写的就是haproxy的probe resistance。只有front application才需要probe resistance。

没用过haproxy后面串联caddy的用法,也不知道为什么要这样用,没必要。haproxy目前只测试过后面串联naive server的用法。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants