Remove minor typos

This commit is contained in:
Norman Köster 2021-01-18 11:27:18 +01:00
parent 723eb5140e
commit b9cb9058e5
1 changed files with 1 additions and 5 deletions

View File

@ -268,7 +268,7 @@ To try your configuration you can use `ldap.php` available at the root of this p
### Additional information for usage with nginx-proxy, nginx-proxy-letsencrypt ### Additional information for usage with nginx-proxy, nginx-proxy-letsencrypt
In case you want to use `nginx-proxy`, `nginx-proxy-letsencrypt`, and (for example) `openldap`, it is possible to use subdomains for your services. Following this approach you could have mattermost running on on `https://chat.example.com` and authenticate *via this container from `https://oauth.example.com`. This container will then have its own letsencypt certificate. In case you want to use `nginx-proxy`, `nginx-proxy-letsencrypt`, and (for example) `openldap`, it is possible to use subdomains for your services. Following this approach you could have mattermost running on on `https://chat.example.com` and authenticate via this container from `https://oauth.example.com`. This container will then have its own letsencypt certificate.
You can add the following settings to your configuration files for this type of setup. You can add the following settings to your configuration files for this type of setup.
@ -301,8 +301,6 @@ services:
redirect_uri = "https://chat.example.com/signup/gitlab/complete" redirect_uri = "https://chat.example.com/signup/gitlab/complete"
[...]
ldap_filter = "(&(objectClass=inetOrgPerson)(memberof=cn=chat,ou=groups,dc=example,dc=com))" ldap_filter = "(&(objectClass=inetOrgPerson)(memberof=cn=chat,ou=groups,dc=example,dc=com))"
[...] [...]
@ -313,7 +311,6 @@ This filter will additionally allow you to filter based on group affiliation wit
Finally, add the following to your mattermost config.json to ensure the correct redirect. Finally, add the following to your mattermost config.json to ensure the correct redirect.
```json ```json
[...]
"GitLabSettings": { "GitLabSettings": {
"Enable": true, "Enable": true,
"Secret": "XXX", "Secret": "XXX",
@ -323,7 +320,6 @@ Finally, add the following to your mattermost config.json to ensure the correct
"TokenEndpoint": "https://oauth.example.com/oauth/token.php", "TokenEndpoint": "https://oauth.example.com/oauth/token.php",
"UserApiEndpoint": "https://oauth.example.com/oauth/resource.php" "UserApiEndpoint": "https://oauth.example.com/oauth/resource.php"
}, },
[...]
``` ```
## Usage ## Usage