Skip to content

Instantly share code, notes, and snippets.

@unixfox
Created September 8, 2019 14:54
Show Gist options
  • Save unixfox/0e8cb0860770a2634e9926be21be8da5 to your computer and use it in GitHub Desktop.
Save unixfox/0e8cb0860770a2634e9926be21be8da5 to your computer and use it in GitHub Desktop.
small haproxy tcp configuration file
global
user haproxy
group haproxy
daemon
defaults
mode tcp
balance leastconn
timeout client 30000ms
timeout server 30000ms
timeout connect 3000ms
retries 3
frontend front_server
bind 0.0.0.0:25565
default_backend back_server
backend back_server
server srv1 8.8.8.8:25565 maxconn 2048
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment