From: reyk Date: Thu, 18 Dec 2014 10:18:25 +0000 (+0000) Subject: Document * and :: to listen on all IPv4 or IPv6 addresses. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=daa8a461fa1e47ac0aafffe7721c7f5531080470;p=openbsd Document * and :: to listen on all IPv4 or IPv6 addresses. --- 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 .\" @@ -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.