remove unnecessary configurations

This commit is contained in:
Virkkunen 2025-01-19 13:56:10 +01:00 committed by Slavi Pantaleev
parent be586f0f30
commit 5e03006c5d
2 changed files with 4 additions and 15 deletions

View File

@ -120,18 +120,13 @@ matrix_conduwuit_template_conduwuit_config: "{{ role_path }}/templates/conduwuit
# Max size for uploads, in bytes
matrix_conduwuit_max_request_size: 20_000_000
# Maximum number of open files for conduwuit's embedded RocksDB database
# See https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide#tuning-other-options
# By default, conduwuit uses a relatively low value of 20.
matrix_conduwuit_rocksdb_max_open_files: 64
# Enables registration. If set to false, no users can register on this server.
matrix_conduwuit_allow_registration: false
matrix_conduwuit_allow_federation: true
# Enable the display name lightning bolt on registration.
matrix_conduwuit_enable_lightning_bolt: true
# The display name suffix on registration. Change to '' to disable.
matrix_conduwuit_new_user_displayname_suffix: ''
matrix_conduwuit_trusted_servers:
- "matrix.org"

View File

@ -23,7 +23,6 @@ server_name = "{{ matrix_domain }}"
# This is the only directory where Conduwuit will save its data
database_path = "/var/lib/matrix-conduwuit/"
database_backend = "rocksdb"
# The port Conduwuit will be running on. You need to set up a reverse proxy in
# your web server (e.g. apache or nginx), so all requests to /_matrix on port
@ -34,21 +33,16 @@ port = {{ matrix_conduwuit_port_number }}
# Max size for uploads
max_request_size = {{ matrix_conduwuit_max_request_size }}
# Max number of open files for the RocksDB database
rocksdb_max_open_files = {{ matrix_conduwuit_rocksdb_max_open_files }}
# Enables registration. If set to false, no users can register on this server.
allow_registration = {{ matrix_conduwuit_allow_registration | to_json }}
allow_federation = {{ matrix_conduwuit_allow_federation | to_json }}
# Enable the display name lightning bolt on registration.
enable_lightning_bolt = {{ matrix_conduwuit_enable_lightning_bolt | to_json }}
# Enable the display name suffix on registration.
new_user_displayname_suffix = {{ matrix_conduwuit_new_user_displayname_suffix | to_json }}
trusted_servers = {{ matrix_conduwuit_trusted_servers | to_json }}
max_concurrent_requests = {{ matrix_conduwuit_max_concurrent_requests }}
log = "info,state_res=warn,rocket=off,_=off,sled=off"
address = "0.0.0.0"