diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-12-18 10:18:26 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-12-18 10:18:26 +0000 |
commit | 1111f6fb3f939b0031aaba714a8b95cc5e471f1c (patch) | |
tree | dad137c175119c89d83e1ab4ff2f3814e6c7fa93 | |
parent | 2bb22040068586a7eb8d93d5645cd9567003cc70 (diff) |
Document * and :: to listen on all IPv4 or IPv6 addresses.
-rw-r--r-- | usr.sbin/httpd/httpd.conf.5 | 11 |
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. |