64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"Host": "0.0.0.0",
|
|
"Port": 5000,
|
|
"UseTls": false,
|
|
"CertificatePath": "",
|
|
"CertificatePassword": "",
|
|
"ServerWidePassword": "",
|
|
"RegistrationMode": "Open",
|
|
"DataDirectory": "data",
|
|
"MaxFileSizeMb": 50,
|
|
"ServerName": "GsDChat Community Server",
|
|
"Motd": "Welcome to GsDChat! Enjoy private and modular messaging.",
|
|
"AllowMemberChannelCreation": true,
|
|
"AllowDmE2ee": true,
|
|
"MaxGroupChatUsers": 10,
|
|
"EnableVoiceCalls": true,
|
|
"AllowVoiceRelayFallback": true,
|
|
"MaxVoiceCallUsers": 10,
|
|
"StunServers": [
|
|
"stun:stun.cloudflare.com:3478",
|
|
"stun:stun.l.google.com:19302"
|
|
],
|
|
"TurnServers": [
|
|
{
|
|
"Urls": [
|
|
"turn:openrelay.metered.ca:80",
|
|
"turn:openrelay.metered.ca:443",
|
|
"turn:openrelay.metered.ca:443?transport=tcp",
|
|
"turns:openrelay.metered.ca:443?transport=tcp"
|
|
],
|
|
"Username": "openrelayproject",
|
|
"Credential": "openrelayproject"
|
|
}
|
|
],
|
|
"RateLimitRequestsPerMinute": 60,
|
|
"MaxConnectionsPerIp": 10,
|
|
"MaxGlobalConnections": 100,
|
|
"MaxConcurrentSessionsPerUser": 5,
|
|
"InviteTokenExpirationHours": 168,
|
|
"RequireAuthForServerInfo": false,
|
|
"EnableCsrfProtection": true,
|
|
"MaxWebSocketMessageSizeBytes": 1048576,
|
|
"FileContentTypeFilterMode": "Whitelist",
|
|
"FileContentTypeFilters": [
|
|
"image/jpeg",
|
|
"image/png",
|
|
"image/gif",
|
|
"image/webp",
|
|
"image/svg+xml",
|
|
"application/pdf",
|
|
"text/plain",
|
|
"text/csv",
|
|
"application/octet-stream",
|
|
"application/zip",
|
|
"application/x-rar-compressed",
|
|
"application/x-7z-compressed",
|
|
"audio/mpeg",
|
|
"audio/wav",
|
|
"audio/ogg",
|
|
"video/mp4",
|
|
"video/webm",
|
|
"video/quicktime"
|
|
]
|
|
}
|