Files
ma1sd/docs/features/directory-users.md
2017-09-30 00:56:16 +02:00

15 lines
727 B
Markdown

- 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