170
config/default.yaml
Archivo normal
170
config/default.yaml
Archivo normal
@@ -0,0 +1,170 @@
|
||||
# Prosody Node.js - Default Configuration
|
||||
# This file contains the default configuration for the XMPP server
|
||||
|
||||
# Server Information
|
||||
server:
|
||||
domain: localhost
|
||||
version: "1.0.0"
|
||||
name: "Prosody Node.js Server"
|
||||
|
||||
# Network Configuration
|
||||
network:
|
||||
c2s:
|
||||
enabled: true
|
||||
port: 5222
|
||||
interface: "0.0.0.0"
|
||||
tls:
|
||||
enabled: true
|
||||
required: false
|
||||
|
||||
s2s:
|
||||
enabled: true
|
||||
port: 5269
|
||||
interface: "0.0.0.0"
|
||||
tls:
|
||||
enabled: true
|
||||
required: true
|
||||
|
||||
bosh:
|
||||
enabled: true
|
||||
port: 5280
|
||||
path: "/http-bind"
|
||||
|
||||
websocket:
|
||||
enabled: true
|
||||
port: 5281
|
||||
path: "/xmpp-websocket"
|
||||
|
||||
component:
|
||||
enabled: true
|
||||
port: 5347
|
||||
interface: "127.0.0.1"
|
||||
|
||||
# Virtual Hosts
|
||||
virtualHosts:
|
||||
- domain: localhost
|
||||
enabled: true
|
||||
modules:
|
||||
- roster
|
||||
- saslauth
|
||||
- tls
|
||||
- dialback
|
||||
- disco
|
||||
- carbons
|
||||
- mam
|
||||
- csi
|
||||
- ping
|
||||
- presence
|
||||
- message
|
||||
- iq
|
||||
- vcard
|
||||
- private
|
||||
- blocklist
|
||||
- bookmarks
|
||||
|
||||
# Authentication
|
||||
authentication:
|
||||
default: internal_plain
|
||||
allowRegistration: true
|
||||
registrationThrottle: 300000 # 5 minutes
|
||||
passwordMinLength: 6
|
||||
|
||||
# Storage
|
||||
storage:
|
||||
type: memory
|
||||
options:
|
||||
path: ./data
|
||||
autoSave: true
|
||||
saveInterval: 300000
|
||||
|
||||
# Modules
|
||||
modules:
|
||||
global:
|
||||
- admin_telnet
|
||||
- admin_adhoc
|
||||
- http
|
||||
- http_files
|
||||
- announce
|
||||
- watchdog
|
||||
|
||||
auto:
|
||||
- roster
|
||||
- saslauth
|
||||
- tls
|
||||
- dialback
|
||||
- disco
|
||||
- ping
|
||||
- presence
|
||||
- message
|
||||
- iq
|
||||
|
||||
# Module Configuration
|
||||
moduleConfig:
|
||||
mam:
|
||||
maxArchiveSize: 10000
|
||||
defaultAlways: false
|
||||
|
||||
carbons:
|
||||
enabled: true
|
||||
|
||||
csi:
|
||||
enabled: true
|
||||
queue_size: 256
|
||||
|
||||
http_files:
|
||||
directory: ./www
|
||||
|
||||
vcard:
|
||||
storage: internal
|
||||
|
||||
# Security
|
||||
security:
|
||||
maxStanzaSize: 262144
|
||||
connectionTimeout: 60000
|
||||
maxConnectionsPerIP: 5
|
||||
c2sTimeout: 300
|
||||
s2sTimeout: 900
|
||||
tlsCiphers: "HIGH:!aNULL:!MD5"
|
||||
|
||||
# Rate Limiting
|
||||
rateLimit:
|
||||
enabled: true
|
||||
maxPointsPerSecond: 10
|
||||
blockDuration: 60
|
||||
|
||||
# Logging
|
||||
logging:
|
||||
level: info
|
||||
console:
|
||||
enabled: true
|
||||
colorize: true
|
||||
file:
|
||||
enabled: true
|
||||
path: ./logs/prosody-nodejs.log
|
||||
maxSize: 10485760 # 10MB
|
||||
maxFiles: 5
|
||||
|
||||
# Features
|
||||
features:
|
||||
muc:
|
||||
enabled: true
|
||||
rooms: []
|
||||
|
||||
pubsub:
|
||||
enabled: true
|
||||
|
||||
fileSharing:
|
||||
enabled: true
|
||||
maxFileSize: 10485760 # 10MB
|
||||
uploadPath: ./uploads
|
||||
|
||||
externalServices:
|
||||
enabled: false
|
||||
services: []
|
||||
|
||||
# Performance
|
||||
performance:
|
||||
compression: true
|
||||
keepAlive: true
|
||||
keepAliveTimeout: 5000
|
||||
maxHeadersCount: 100
|
||||
Referencia en una nueva incidencia
Block a user