38 lines
2.1 KiB
YAML
38 lines
2.1 KiB
YAML
# This is a simplified config where the rest of the
|
|
# settings are omitted and will be set by default.
|
|
# See config.yml for the full configuration options.
|
|
config:
|
|
bind: 0.0.0.0:25565
|
|
# Lite mode is a lightweight reverse proxy mode that acts as thin layer between the client and the backend server.
|
|
# See https://gate.minekube.com/guide/lite
|
|
#
|
|
# It efficiently routes client connections based on the virtual host address received in the handshake packet.
|
|
# This allows to protect multiple backend servers behind a single port Gate Lite proxy instance.
|
|
# Player connections (including ping requests and player authentication) is forwarded to the destined backend server.
|
|
# This means Lite mode supports proxy behind proxy setups, but advanced features like server switching or proxy commands are no longer available
|
|
# and have no effect in Lite mode when extensions use higher level Gate APIs and events.
|
|
lite:
|
|
# Enable Lite mode.
|
|
# If disabled, the proxy will act as a full proxy with all features enabled just like BungeeCord/Velocity.
|
|
# If enabled, the proxy will act as a lightweight reverse proxy to support new types of deployment architecture.
|
|
# Default: false
|
|
enabled: true
|
|
# Whether to use the proxy in online (authenticate players with Mojang API) or offline mode (not recommended).
|
|
onlineMode: true
|
|
# The routes that the proxy redirects player connections to based on matching the virtual host address.
|
|
# The routes are matched in order of appearance.
|
|
# Examples:
|
|
routes:
|
|
- host: smartcraft.me
|
|
backend: 172.16.0.12:3901
|
|
# proxyProtocol: true # Use proxy protocol to connect to backend.
|
|
- host: rangerpost.org
|
|
backend: 172.16.0.48:37602
|
|
# proxyProtocol: true # Use proxy protocol to connect to backend.
|
|
- host: atm8.smartcraft.me
|
|
backend: 172.16.0.10:32704
|
|
# proxyProtocol: true # Use proxy protocol to connect to backend.
|
|
- host: atm9.smartcraft.me
|
|
backend: 172.16.0.10:32404
|
|
# proxyProtocol: true # Use proxy protocol to connect to backend.
|