grim/containers/prosody
Clone
Summary
Browse
Changes
Graph
Explicitly load the posix module and set daemonize to false
2020-02-11, Gary Kramlich
06d0b419921c
Explicitly load the posix module and set daemonize to false
-- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at https://prosody.im/doc/configure
--
---------- Server-wide settings ----------
admins
=
{
}
use_libevent
=
true
daemonize
=
false
;
pidfile
=
"/run/prosody/prosody.pid"
;
consider_bosh_secure
=
true
;
plugin_paths
=
{
"/usr/lib/prosody/modules"
;
}
modules_enabled
=
{
"roster"
;
-- Allow users to have a roster. Recommended ;)
"saslauth"
;
-- Authentication for clients and servers. Recommended if you want to log in.
"tls"
;
-- Add support for secure TLS on c2s/s2s connections
"dialback"
;
-- s2s dialback support
"disco"
;
-- Service discovery
"carbons"
;
-- Keep multiple clients in sync
"pep"
;
-- Enables users to publish their avatar, mood, activity, playing music and more
"private"
;
-- Private XML storage (for room bookmarks, etc.)
"blocklist"
;
-- Allow users to block communications with other users
"vcard4"
;
-- User profiles (stored in PEP)
"vcard_legacy"
;
-- Conversion between legacy vCard and PEP Avatar, vcard
"version"
;
-- Replies to server version requests
"uptime"
;
-- Report how long server has been running
"time"
;
-- Let others know the time here on this server
"ping"
;
-- Replies to XMPP pings with pongs
"register"
;
-- Allow users to register on this server using a client and change passwords
"mam"
;
-- Store messages in an archive and allow users to access it
"csi_simple"
;
-- Simple Mobile optimizations
"admin_adhoc"
;
-- Allows administration via an XMPP client that supports ad-hoc commands
"bosh"
;
-- Enable BOSH clients, aka "Jabber over HTTP"
"websocket"
;
-- XMPP over WebSockets
"http_files"
;
-- Serve static files from a directory over HTTP
"prometheus"
;
-- enable the prometheus plugin
"admin_telnet"
;
-- useful for debugging
"posix"
;
-- the posix module, we explicitly load it to tell it to not daemonize
}
modules_disabled
=
{}
daemonize
=
false
allow_registration
=
false
c2s_require_encryption
=
true
s2s_require_encryption
=
true
s2s_secure_auth
=
true
s2s_secure_domains
=
{
"jabber.org"
}
-- enable statistics so the prometheus plugin will work
statistics
=
"internal"
statistics_interval
=
15
-- in seconds
-- Select the authentication backend to use. The 'internal' providers
-- use Prosody's configured data storage to store the authentication data.
authentication
=
"internal_hashed"
storage
=
"internal"
archive_expires_after
=
"1w"
-- Remove archived messages after 1 week
log
=
{
{
levels
=
{
min
=
"info"
},
to
=
"console"
};
}
certificates
=
"certs"
;
Include
"secrets.d/*.cfg.lua"
Include
"conf.d/*.cfg.lua"