Integrate SimpleX Chat SMP and XFTP servers for privacy-focused messaging: - secubox-app-simplex: Backend with LXC container management - SMP server for message relay (port 5223) - XFTP server for encrypted file sharing (port 443) - Auto-download of SimpleX binaries for aarch64/x86_64 - TLS certificate generation (self-signed or Let's Encrypt) - Firewall and HAProxy integration - luci-app-simplex: LuCI dashboard with: - Service status monitoring - Server address display with copy-to-clipboard - Full configuration forms for SMP, XFTP, and TLS - Install/certificate management actions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
912 B
INI
33 lines
912 B
INI
# SimpleX Chat Server HAProxy Configuration
|
|
#
|
|
# This file provides HAProxy configuration snippets for SimpleX servers.
|
|
# SimpleX uses TLS passthrough (TCP mode) as it handles TLS internally.
|
|
#
|
|
# Note: SMP and XFTP servers require direct TLS connections.
|
|
# HAProxy can be used for:
|
|
# - TCP load balancing (if running multiple instances)
|
|
# - Port mapping
|
|
# - Connection limiting
|
|
#
|
|
# For most setups, direct port forwarding is recommended.
|
|
|
|
# Example frontend for SMP (if needed):
|
|
# frontend simplex_smp_frontend
|
|
# bind *:5223
|
|
# mode tcp
|
|
# default_backend simplex_smp_backend
|
|
#
|
|
# backend simplex_smp_backend
|
|
# mode tcp
|
|
# server simplex-smp 127.0.0.1:15223 check
|
|
|
|
# Example frontend for XFTP:
|
|
# frontend simplex_xftp_frontend
|
|
# bind *:443
|
|
# mode tcp
|
|
# default_backend simplex_xftp_backend
|
|
#
|
|
# backend simplex_xftp_backend
|
|
# mode tcp
|
|
# server simplex-xftp 127.0.0.1:1443 check
|