-
Notifications
You must be signed in to change notification settings - Fork 468
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
Add whatsapp.net frontend and backend #197
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,19 @@ frontend haproxy_v4_xmpp | |
|
||
default_backend wa | ||
|
||
frontend haproxy_v4_whatsapp_net | ||
maxconn 27495 | ||
#PUBLIC_IP | ||
|
||
bind ipv4@*:587 | ||
bind ipv4@*:7777 | ||
|
||
default_backend wa_whatsapp_net | ||
|
||
backend wa_whatsapp_net | ||
default-server check inter 60000 observe layer4 | ||
server whatsapp_net_443 whatsapp.net:443 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I feel like we should update the healthchecker as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! Let me know what you think! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
backend wa | ||
default-server check inter 60000 observe layer4 send-proxy | ||
server g_whatsapp_net_5222 g.whatsapp.net:5222 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haproxy.com/blog/use-the-proxy-protocol-to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok