Skip to content

Instantly share code, notes, and snippets.

View TheTrunk's full-sized avatar
🏠
Working from home

Tadeas Kmenta TheTrunk

🏠
Working from home
View GitHub Profile
@TheTrunk
TheTrunk / haproxy.cfg
Created September 1, 2024 20:32 — forked from nathan818fr/haproxy.cfg
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