Configuration File
This chapter details the configuration settings for Palpo.
Palpo supports using yaml, toml, and json as configuration file formats. You can choose based on your preference, with toml being the recommended format.
By default, the system loads the palpo.toml file located in the same directory as the Palpo executable. You can change the configuration file path by setting the environment variable PALPO_CONFIG.
Required Configuration Items
The following items must be configured; otherwise, the system will not run correctly.
If you do not have a configuration file, you can copy the palpo-example.toml file from the project root directory and modify it according to your needs.
If using a proxy or for local testing, make sure to configure the well_known client configuration:
Common Configuration Items
Configuring TLS Certificates
TLS certificates can be configured using the [tls] section. If this section is not set, TLS is disabled by default. If set, enable defaults to true. You can also set enable to false to temporarily disable TLS without deleting or commenting out the configuration.
Logging Configuration
Configure logging behavior using the [logger] section:
Compression Configuration
HTTP compression support can be enabled via the [compression] section. Supported compression methods include zstd, gzip, and brotli, all of which are disabled by default. You can enable them with a configuration similar to the following:
Well-Known Configuration
Configure Matrix service discovery endpoints:
More Configuration
- Storage — Local filesystem and S3-compatible object storage
- Database — Connection pool and timeout settings
- Federation — Federation, trusted servers, and IP/domain filtering
- Security & Registration — User registration, rate limiting, and security settings
- Media — Media handling, blurhash, and URL previews
- Advanced — Presence, typing indicators, read receipts, admin, and HTTP timeouts
- Reverse Proxy — Nginx, Caddy, Traefik configuration
- Delegation — Domain delegation for federation
- TURN — Voice/video call relay server
- LDAP — LDAP directory authentication
- OIDC — OAuth/OpenID Connect authentication
- JWT — JWT token authentication
- Forward Proxy — Outbound proxy configuration