Skip to content

Instantly share code, notes, and snippets.

@tiancheng91
Created March 23, 2017 17:37
Show Gist options
  • Save tiancheng91/80e97305ca4ba1556ddb1e047cff40a8 to your computer and use it in GitHub Desktop.
Save tiancheng91/80e97305ca4ba1556ddb1e047cff40a8 to your computer and use it in GitHub Desktop.
haproxy for google
fronted google_80
mode tcp
bind 104.224.187.225:80
default_backend google_80
backend google_80
balance roundrobin
server google_80_01 172.217.4.164:80 check
server google_80_02 172.217.5.69:80:80 check
fronted google_443
mode tcp
bind 104.224.187.225:443
default_backend google_443
backend google_443
balance roundrobin
server google_443_01 172.217.4.132:443 check
server google_443_02 216.58.193.206:443 check
fronted google_stun
mode tcp
bind 104.224.187.225:19305
default_backend google_stun
backend google_stun
balnae roundrobin
server google_stun_01 173.194.202.127:19305 check
server google_stun_02 74.125.22.127:19305 check
fronted google_gtalk
mode tcp
bind 104.224.187.225:5222
default_backend google_gtalk
backend google_gtalk
balance roundrobin
server google_gtalk_01 173.194.193.125:5222 check
server google_gtalk_02 173.194.202.125:5222 check
fronted google_gcm
mode tcp
bind 104.224.187.225:5228
default_backend google_gcm
backend google_gcm
balance roundrobin
server google_gcm_01 173.194.202.188:5228 check
server google_gcm_02 74.125.28.188:5228 check
fronted google_agps
mode tcp
bind 104.224.187.225:7276
default_backend google_agps
backend google_agps
balance roundrobin
server google_agps_01 173.194.203.192:7276 check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment