From daa8a461fa1e47ac0aafffe7721c7f5531080470 Mon Sep 17 00:00:00 2001 From: reyk Date: Thu, 18 Dec 2014 10:18:25 +0000 Subject: [PATCH] Document * and :: to listen on all IPv4 or IPv6 addresses. --- usr.sbin/httpd/httpd.conf.5 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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. -- 2.20.1