summary refs log tree commit diff
path: root/docs/usage/configuration/sample_config.md
blob: f826de8b85187c3543085b28a95ad58636e1150b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Sample Configuration Files

## Homeserver Config

Below is a sample homeserver configuration file. The homeserver configuration file 
can be tweaked to change the behaviour of your homeserver. A restart of the server is 
generally required to apply any changes made to this file.

Note that the contents below are *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
[Installation](../../setup/installation.md).

A sample logging config file is provided in [the next section](#logging-config).


```yaml
{{#include ../../sample_config.yaml}}
```

## Logging Config

Below is a sample logging configuration file. This file controls how your homeserver 
will output logs.

```yaml
{{#include ../../sample_log_config.yaml}}
```