]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doh: example how to listen on all addresses
authorPetr Špaček <petr.spacek@nic.cz>
Wed, 10 Apr 2019 11:41:01 +0000 (13:41 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Thu, 11 Apr 2019 07:12:50 +0000 (09:12 +0200)
modules/http/README.doh.rst

index 8c35436a02a5f0dce87c5adcb55e40af64affe56..8033c21763cbac5f70cec480d60c5bf0fcbebea5 100644 (file)
@@ -43,7 +43,7 @@ Example configuration:
        -- Load HTTP module with defaults
         modules.load('http')
         http.config({
-                host = 'hostname.example', -- change to your server name
+                host = '::',        -- listen on ALL IPv4 and IPv6 addresses
                 port = 443,         -- feel free to use any other port
                 tls = true,
                 -- use valid X.509 cert issued by a recognized Certificate authority