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

Is HAproxy in ssh section fail? #1

Open
Ahmadhashem86 opened this issue Apr 4, 2022 · 0 comments
Open

Is HAproxy in ssh section fail? #1

Ahmadhashem86 opened this issue Apr 4, 2022 · 0 comments

Comments

@Ahmadhashem86
Copy link

ackend ssh
mode tcp
option httpchk GET /config/server/version HTTP/1.0
http-check expect status 200
balance source
timeout connect 10s
timeout server 5m
server gerrit_ssh_01 gerrit-01.mycompany.com:29418 check port 8080 inter 10s fall 3 rise 2
server gerrit-ssh_02 gerrit-02.mycompany.com:29418 check port 8080 inter 10s fall 3 rise 2 backup

shouldn't that be:
ackend ==> backend in the first line
ssh ==> gerrit_ssh_nodes in the first line to indicate the same name in frontend.
the last two lines cannot have the same port as in frontend
server gerrit_ssh_01 gerrit-01.mycompany.com:29418 check port 8080 inter 10s fall 3 rise 2
server gerrit-ssh_02 gerrit-02.mycompany.com:29418 check port 8080 inter 10s fall 3 rise 2 backup

just asking

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

1 participant