Advertisement
Guest User

Homeserver

a guest
Jun 4th, 2025
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. # Configuration file for Synapse.
  2. #
  3. # This is a YAML file: see [1] for a quick introduction. Note in particular
  4. # that *indentation is important*: all the elements of a list or dictionary
  5. # should have the same indentation.
  6. #
  7. # [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
  8. #
  9. # For more information on how to configure Synapse, including a complete accounting of
  10. # each option, go to docs/usage/configuration/config_documentation.md or
  11. # https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
  12. #
  13. # This is set in /etc/matrix-synapse/conf.d/server_name.yaml for Debian installations.
  14. # server_name: "SERVERNAME"
  15. pid_file: "/var/run/matrix-synapse.pid"
  16. listeners:
  17. - port: 8008
  18. tls: false
  19. type: http
  20. x_forwarded: true
  21. bind_addresses: ['0.0.0.0']
  22. resources:
  23. - names: [client, federation]
  24. compress: false
  25. database:
  26. name: sqlite3
  27. args:
  28. database: /var/lib/matrix-synapse/homeserver.db
  29. log_config: "/etc/matrix-synapse/log.yaml"
  30. media_store_path: /var/lib/matrix-synapse/media
  31. signing_key_path: "/etc/matrix-synapse/homeserver.signing.key"
  32. trusted_key_servers:
  33. - server_name: "matrix.org"
  34. registration_shared_secret:
  35. enable_registration: true
  36. registration_requires_token: true
  37. suppress_key_server_warning: true
  38. room_list_publication_rules:
  39. - "action": "allow"
  40. admin_contact: 'mailto:[email protected]'
  41. max_avatar_size: 5M
  42. auto_join_rooms:
  43. - "#marktplatz:matrix.beukert.eu"
  44. #serve_server_wellknown: tru
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement