Use string for federation_client_minimum_tls_version documentation examples (#16353)

pull/16355/head
Jan Christian Grünhage 2023-09-19 13:24:47 +02:00 committed by GitHub
parent 1f477d65f5
commit 3d60b07cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

1
changelog.d/16353.doc Normal file
View File

@ -0,0 +1 @@
Use string for federation_client_minimum_tls_version documentation examples. Contributed by @jcgruenhage.

View File

@ -1133,14 +1133,14 @@ federation_verify_certificates: false
The minimum TLS version that will be used for outbound federation requests. The minimum TLS version that will be used for outbound federation requests.
Defaults to `1`. Configurable to `1`, `1.1`, `1.2`, or `1.3`. Note Defaults to `"1"`. Configurable to `"1"`, `"1.1"`, `"1.2"`, or `"1.3"`. Note
that setting this value higher than `1.2` will prevent federation to most that setting this value higher than `"1.2"` will prevent federation to most
of the public Matrix network: only configure it to `1.3` if you have an of the public Matrix network: only configure it to `"1.3"` if you have an
entirely private federation setup and you can ensure TLS 1.3 support. entirely private federation setup and you can ensure TLS 1.3 support.
Example configuration: Example configuration:
```yaml ```yaml
federation_client_minimum_tls_version: 1.2 federation_client_minimum_tls_version: "1.2"
``` ```
--- ---
### `federation_certificate_verification_whitelist` ### `federation_certificate_verification_whitelist`