Skip to content

Instantly share code, notes, and snippets.

View dyspandemic4832's full-sized avatar

dyspandemic4832 dyspandemic4832

View GitHub Profile
@nathan818fr
nathan818fr / haproxy.cfg
Last active January 13, 2026 15:12
Decoding the Minecraft handshake with HAProxy (protocol version, hostname, next-state) to choose which backend to use.
global
lua-load /path/to/haproxy_minecraft.lua
[...]
defaults
[...]
frontend mc_listener
bind *:25565
mode tcp