Skeleton for User directory setup instructions

This commit is contained in:
Maxime Dor
2017-09-30 00:56:16 +02:00
parent 52e4a65c3c
commit 88a37c52c0

View File

@@ -0,0 +1,14 @@
- Only work for LDAP and SQL
- For LDAP: Set LDAP config (new global filter, optional: threepids attributes if the default identity queries were changed)
- For SQL: Use `synapseSql` module with `type: {sqlite|postgresql}` and `database` as JDBC url after `jdbc:driver:`
- `/path/to/db` for `sqlite`
- `//host/db?username...` for `postgresql`)
- Configure DNS overwrite for domain name (and mention ${matrix.domain} can be used)
```
dns.overwrite.homeserver.client:
- name: 'example.org'
value: 'http://localhost:8008'
```
- Configure reverse proxy
- for `/_matrix/client/r0/user_directory/search` to `http://internalIp:8008/_matrix/client/r0/user_directory/search`
- With `ProxyPreserveHost on` on apache