summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2014-12-18 10:18:25 +0000
committerreyk <reyk@openbsd.org>2014-12-18 10:18:25 +0000
commitdaa8a461fa1e47ac0aafffe7721c7f5531080470 (patch)
tree95a9d6817055393652b1485433acc902ae6c9069
parentAccept * as an alias for the default ipv4 listen address. (diff)
downloadwireguard-openbsd-daa8a461fa1e47ac0aafffe7721c7f5531080470.tar.xz
wireguard-openbsd-daa8a461fa1e47ac0aafffe7721c7f5531080470.zip
Document * and :: to listen on all IPv4 or IPv6 addresses.
-rw-r--r--usr.sbin/httpd/httpd.conf.511
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/httpd/httpd.conf.5 b/usr.sbin/httpd/httpd.conf.5
index ee22c7fe1b3..94acbd641f7 100644
--- a/usr.sbin/httpd/httpd.conf.5
+++ b/usr.sbin/httpd/httpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: httpd.conf.5,v 1.38 2014/12/18 09:00:19 reyk Exp $
+.\" $OpenBSD: httpd.conf.5,v 1.39 2014/12/18 10:18:25 reyk Exp $
.\"
.\" Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
.\"
@@ -49,6 +49,15 @@ If the address is an interface name,
.Xr httpd 8
will look up the first IPv4 address and any other IPv4 and IPv6
addresses of the specified network interface.
+If
+.Sq *
+is given as an address,
+it will be used as an alias for
+.Ar 0.0.0.0
+to listen on all IPv4 addresses.
+Likewise,
+.Sq ::
+can be used to listen on all IPv6 addresses.
A
.Ar port
can be specified by number or name.