Commit 8566e830 authored by Petr Špaček's avatar Petr Špaček

doh: example how to listen on all addresses

parent fc3f6487
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment