Added multi server support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user