]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc/net.tls(): update command example output
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 7 Apr 2021 14:04:02 +0000 (16:04 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Mon, 24 May 2021 12:20:15 +0000 (14:20 +0200)
Technically, we return an actual lua table instead of this
pretty-printed representation, but I chose it to be consistent with the
rest of the docs.

daemon/bindings/net_tlssrv.rst

index 0d0431e6ab60dd94ec8bcdd877eee447af5fbaa3..55b3be1b8504ba355ed4ee0dfd021ef7c70500e5 100644 (file)
@@ -91,7 +91,8 @@ by a trusted CA. This is done using function :c:func:`net.tls()`.
 
       > net.tls("/etc/knot-resolver/server-cert.pem", "/etc/knot-resolver/server-key.pem")
       > net.tls()  -- print configured paths
-      ("/etc/knot-resolver/server-cert.pem", "/etc/knot-resolver/server-key.pem")
+      [cert_file] => '/etc/knot-resolver/server-cert.pem'
+      [key_file] => '/etc/knot-resolver/server-key.pem'
 
    .. tip:: The certificate files aren't automatically reloaded on change. If
       you update the certificate files, e.g. using ACME, you have to either