# Tunly Server Configuration
# ==========================
# Port to listen on (default: 8080)
PORT=8080
# (Optional) Fixed token mode.
# If set, users must use this token to connect.
# If empty, ephemeral mode is used (tokens via /token).
# TUNLY_TOKEN=your_secure_fixed_token
# (Optional) Custom JWT secret for ephemeral tokens.
# If empty, a random 32-byte secret is generated on startup.
# TUNLY_JWT_SECRET=your_32_character_secret_key
# (Optional) Internal key to restrict /token access to your frontend ONLY.
TUNLY_INTERNAL_KEY=generate_a_long_random_string_here