accept tailscale ssh banner in haproxy health checks
This commit is contained in:
parent
e8ee085649
commit
f0f6020d6a
3 changed files with 153 additions and 11 deletions
|
|
@ -275,7 +275,7 @@ in
|
|||
backend ${cfg.haproxy.backend}
|
||||
balance leastconn
|
||||
option tcp-check
|
||||
tcp-check expect rstring SSH-2\\.0-OpenSSH.*
|
||||
tcp-check expect rstring SSH-2\\.0-.*
|
||||
${lib.concatMapStrings (
|
||||
i:
|
||||
"server ${cfg.haproxy.slotPrefix}${lib.fixedWidthNumber 3 i} 127.0.0.2:22 disabled check inter 5s fall 2 rise 2 maxconn 2\n "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue