summary refs log tree commit diff
path: root/v1.75/sample_config.yaml
diff options
context:
space:
mode:
authorDMRobertson <DMRobertson@users.noreply.github.com>2023-01-10 12:19:38 +0000
committerDMRobertson <DMRobertson@users.noreply.github.com>2023-01-10 12:19:38 +0000
commitdd8cbf08bac0e69f1caf00ec1efec6019eb36c29 (patch)
tree3b1e662db9ac5c86d2f12b7f1b2394383136cab3 /v1.75/sample_config.yaml
parentdeploy: 3479599387164aca2613e88d1697191b087e55bc (diff)
downloadsynapse-dd8cbf08bac0e69f1caf00ec1efec6019eb36c29.tar.xz
deploy: 9a4c69f59f1ac54838d3b0f47280d858b7e41073
Diffstat (limited to 'v1.75/sample_config.yaml')
-rw-r--r--v1.75/sample_config.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/v1.75/sample_config.yaml b/v1.75/sample_config.yaml
new file mode 100644
index 0000000000..6578ec0229
--- /dev/null
+++ b/v1.75/sample_config.yaml
@@ -0,0 +1,43 @@
+# This file is maintained as an up-to-date snapshot of the default
+# homeserver.yaml configuration generated by Synapse. You can find a
+# complete accounting of possible configuration options at
+# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
+#
+# It is *not* intended to be copied and used as the basis for a real
+# homeserver.yaml. Instead, if you are starting from scratch, please generate
+# a fresh config using Synapse by following the instructions in
+# https://matrix-org.github.io/synapse/latest/setup/installation.html.
+#
+################################################################################
+
+# Configuration file for Synapse.
+#
+# This is a YAML file: see [1] for a quick introduction. Note in particular
+# that *indentation is important*: all the elements of a list or dictionary
+# should have the same indentation.
+#
+# [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
+#
+# For more information on how to configure Synapse, including a complete accounting of
+# each option, go to docs/usage/configuration/config_documentation.md or
+# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
+server_name: "SERVERNAME"
+pid_file: DATADIR/homeserver.pid
+listeners:
+  - port: 8008
+    tls: false
+    type: http
+    x_forwarded: true
+    bind_addresses: ['::1', '127.0.0.1']
+    resources:
+      - names: [client, federation]
+        compress: false
+database:
+  name: sqlite3
+  args:
+    database: DATADIR/homeserver.db
+log_config: "CONFDIR/SERVERNAME.log.config"
+media_store_path: DATADIR/media_store
+signing_key_path: "CONFDIR/SERVERNAME.signing.key"
+trusted_key_servers:
+  - server_name: "matrix.org"