Added multi server support

This commit is contained in:
2026-06-23 18:15:37 -04:00
parent 640d4f45f2
commit 4414dce4e4
32 changed files with 543 additions and 207 deletions
+14 -3
View File
@@ -5,8 +5,20 @@
role=backend
node.name=paper-backend
tunnel.connectHost=YOUR_BUNGEE_OR_VPS_IP
tunnel.connectPort=24445
frontends=proxy1
frontend.proxy1.connectHost=YOUR_BUNGEE_OR_VPS_IP
frontend.proxy1.connectPort=24445
frontend.proxy1.tls.pinnedCertificateSha256=
# Multi-proxy example:
# frontends=proxy1,proxy2
# frontend.proxy1.connectHost=proxy1.example.com
# frontend.proxy1.connectPort=24445
# frontend.proxy1.tls.pinnedCertificateSha256=
# frontend.proxy2.connectHost=proxy2.example.com
# frontend.proxy2.connectPort=24445
# frontend.proxy2.tls.pinnedCertificateSha256=
# Replaced automatically on first start. Paste the same value from the Bungee config here.
tunnel.authToken=AUTO_GENERATED_ON_FIRST_START
@@ -24,7 +36,6 @@ tunnel.reconnectMaxMillis=10000
tunnel.tls.enabled=false
tunnel.tls.allowInsecure=true
tunnel.tls.trustOnFirstUse=true
tunnel.tls.pinnedCertificateSha256=
routes=minecraft
route.minecraft.backendTargetHost=127.0.0.1