Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/whatsapp-proxy-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.3.7
version: 1.3.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
29 changes: 17 additions & 12 deletions charts/whatsapp-proxy-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ haproxy:
maxconn: 27495
directBind: ipv4@*:80
proxyBind: ipv4@*:8080 accept-proxy
defaultBackend: wa_http
defaultBackend: wa
haproxyV4Https:
maxconn: 27495
directBind: ipv4@*:443 ssl crt /etc/haproxy/ssl/proxy.whatsapp.net.pem
Expand All @@ -165,12 +165,19 @@ haproxy:
serverAddress: whatsapp.net:443
wa:
defaultServer: check inter 60000 observe layer4 send-proxy
serverName: g_whatsapp_net_5222
serverAddress: g.whatsapp.net:5222
waHttp:
defaultServer: check inter 60000 observe layer4 send-proxy
serverName: g_whatsapp_net_80
serverAddress: g.whatsapp.net:80
servers:
- name: g_whatsapp_net_5222
address: g.whatsapp.net:5222
- name: g_whatsapp_net_80
address: g.whatsapp.net:80
- name: g_whatsapp_net_443
address: g.whatsapp.net:443
- name: g_fallback_whatsapp_net_5222
address: g-fallback.whatsapp.net:5222
- name: g_fallback_whatsapp_net_80
address: g-fallback.whatsapp.net:80
- name: g_fallback_whatsapp_net_443
address: g-fallback.whatsapp.net:443

# HAProxy configuration file contents, rendered through `tpl` so the values
# under `haproxy:` above are interpolated. Edit haproxy.* values (or override
Expand Down Expand Up @@ -239,8 +246,6 @@ haproxyConfig: |

backend wa
default-server {{ .Values.haproxy.backends.wa.defaultServer }}
server {{ .Values.haproxy.backends.wa.serverName }} {{ .Values.haproxy.backends.wa.serverAddress }}

backend wa_http
default-server {{ .Values.haproxy.backends.waHttp.defaultServer }}
server {{ .Values.haproxy.backends.waHttp.serverName }} {{ .Values.haproxy.backends.waHttp.serverAddress }}
{{- range .Values.haproxy.backends.wa.servers }}
server {{ .name }} {{ .address }}
{{- end }}
Loading