Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 3d60b07

Browse files
authored
Use string for federation_client_minimum_tls_version documentation examples (#16353)
1 parent 1f477d6 commit 3d60b07

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

changelog.d/16353.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use string for federation_client_minimum_tls_version documentation examples. Contributed by @jcgruenhage.

docs/usage/configuration/config_documentation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,14 +1133,14 @@ federation_verify_certificates: false
11331133

11341134
The minimum TLS version that will be used for outbound federation requests.
11351135

1136-
Defaults to `1`. Configurable to `1`, `1.1`, `1.2`, or `1.3`. Note
1137-
that setting this value higher than `1.2` will prevent federation to most
1138-
of the public Matrix network: only configure it to `1.3` if you have an
1136+
Defaults to `"1"`. Configurable to `"1"`, `"1.1"`, `"1.2"`, or `"1.3"`. Note
1137+
that setting this value higher than `"1.2"` will prevent federation to most
1138+
of the public Matrix network: only configure it to `"1.3"` if you have an
11391139
entirely private federation setup and you can ensure TLS 1.3 support.
11401140

11411141
Example configuration:
11421142
```yaml
1143-
federation_client_minimum_tls_version: 1.2
1143+
federation_client_minimum_tls_version: "1.2"
11441144
```
11451145
---
11461146
### `federation_certificate_verification_whitelist`

0 commit comments

Comments
 (0)