blob: bb7494eb8a5f26fbbaa7c5b010bf77ad36f02ef0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# tls
*tls* allows you to configure the server certificates for the TLS and gRPC servers.
For other types of servers it is ignored.
## Syntax
~~~ txt
tls CERT KEY CA
~~~
## Examples
Start a DNS-over-TLS server.
~~~
tls://.:4453 {
tls cert.pem key.pem ca.pem
proxy . /etc/resolv.conf
}
~~~
Start a DNS-over-gRPC server. If the `tls` directive were omitted, then
it would use plain HTTP not HTTPS.
~~~
grpc://.:443 {
tls cert.pem key.pem ca.pem
proxy . /etc/resolv.conf
}
~~~
|