]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/http docs: improve the example
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 23 Jan 2019 10:42:56 +0000 (11:42 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 23 Jan 2019 11:34:28 +0000 (12:34 +0100)
Otherwise the http module isn't really usable :-/

modules/http/README.rst

index b4b919415a4633ce2dbc616100a7cdd1e0fd62a8..558fb86c42221567e6bf17e40eec4d0e881a01f3 100644 (file)
@@ -35,10 +35,9 @@ course self-signed. Why not use something like
                http = {
                        host = 'localhost', -- Default: 'localhost'
                        port = 8053,        -- Default: 8053
-                       geoip = 'GeoLite2-City.mmdb' -- Optional, see
+                       geoip = 'GeoLite2-City.mmdb', -- Optional, see
                        -- e.g. https://dev.maxmind.com/geoip/geoip2/geolite2/
                        -- and install mmdblua library
-                       endpoints = {},
                }
        }