Configuration

Learn how to configure your Mesh relay server.

Configuration File

Configuration file location: ~/.mesh/config.yaml

relay:
  port: 3030
  max_connections: 1000
  bind_address: "0.0.0.0"

logging:
  level: "info"
  file: "/var/log/mesh/relay.log"

security:
  tls: true
  cert_file: "/etc/mesh/tls.crt"
  key_file: "/etc/mesh/tls.key"

Options

OptionTypeDescription
portnumberPort to listen on
max_connectionsnumberMaximum simultaneous connections
tlsbooleanEnable TLS encryption