Files
prosody-nodejs/.env.example
2025-12-27 03:39:14 +01:00

42 líneas
718 B
Plaintext

# Server Configuration
NODE_ENV=development
SERVER_PORT=5222
SERVER_HOST=localhost
# TLS/SSL Configuration
TLS_ENABLED=true
TLS_CERT_PATH=./certs/server.crt
TLS_KEY_PATH=./certs/server.key
# BOSH Configuration
BOSH_ENABLED=true
BOSH_PORT=5280
# WebSocket Configuration
WEBSOCKET_ENABLED=true
WEBSOCKET_PORT=5281
# Component Configuration
COMPONENT_PORT=5347
COMPONENT_SECRET=changeme
# Storage Configuration
STORAGE_TYPE=memory
STORAGE_PATH=./data
# Authentication
AUTH_TYPE=internal
AUTH_ALLOW_REGISTRATION=true
# Logging
LOG_LEVEL=info
LOG_FILE=./logs/prosody-nodejs.log
# Security
MAX_STANZA_SIZE=262144
CONNECTION_TIMEOUT=60000
MAX_CONNECTIONS_PER_IP=5
# Virtual Hosts
VIRTUAL_HOSTS=localhost,example.com