]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix formatting on DoH guide
authorKrombel <krombel@krombel.de>
Tue, 19 Nov 2019 14:56:39 +0000 (15:56 +0100)
committerKrombel <krombel@krombel.de>
Tue, 19 Nov 2019 14:56:39 +0000 (15:56 +0100)
pdns/dnsdistdist/docs/guides/dns-over-https.rst

index 919e71820026b1b909069c3eb2b8e837488a98ed..2cf6fadbb85d5f65e830079ad1e39507a2cd0621 100644 (file)
@@ -23,11 +23,11 @@ DoH. If you want your DoH server to handle
 the call to :func:`addDOHLocal`. It is optional and defaults to ``/``, the root of your HTTP site.
 
 The fifth parameter, if present, indicates various options. For
-instance, you use it to indicate custom HTTP headers. An example is:
+instance, you use it to indicate custom HTTP headers. An example is::
 
   addDOHLocal('2001:db8:1:f00::1', '/etc/ssl/certs/example.com.pem', '/etc/ssl/private/example.com.key', "/dns", {customResponseHeaders={["x-foo"]="bar"}}
 
-A more complicated (and more realistic) example is when you want to indicate metainformation about the server, such as the stated policy (privacy statement and so on). We use the link types of RFC 8631:
+A more complicated (and more realistic) example is when you want to indicate metainformation about the server, such as the stated policy (privacy statement and so on). We use the link types of RFC 8631::
 
   addDOHLocal('2001:db8:1:f00::1', '/etc/ssl/certs/example.com.pem', '/etc/ssl/private/example.com.key', "/", {customResponseHeaders={["link"]="<https://example.com/policy.html> rel=\\"service-meta\\"; type=\\"text/html\\""}})