Thanks Matthias, comment below.
On Tue, Oct 27, 2020 at 08:37:39AM +0100, Matthias Pressfreund wrote: > Index: usr.sbin/httpd/httpd.conf.5 > =================================================================== > RCS file: /cvs/src/usr.sbin/httpd/httpd.conf.5,v > retrieving revision 1.113 > diff -u -p -u -p -r1.113 httpd.conf.5 > --- usr.sbin/httpd/httpd.conf.5 5 Sep 2020 11:49:38 -0000 1.113 > +++ usr.sbin/httpd/httpd.conf.5 27 Oct 2020 05:59:05 -0000 > @@ -1,5 +1,6 @@ > .\" $OpenBSD: httpd.conf.5,v 1.113 2020/09/05 11:49:38 tb Exp $ > .\" > +.\" Copyright (c) 2020 Matthias Pressfreund <m...@fn.de> > .\" Copyright (c) 2014, 2015 Reyk Floeter <r...@openbsd.org> > .\" > .\" Permission to use, copy, modify, and distribute this software for any > @@ -14,7 +15,7 @@ > .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF > .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. > .\" > -.Dd $Mdocdate: September 5 2020 $ > +.Dd $Mdocdate: October 27 2020 $ > .Dt HTTPD.CONF 5 > .Os > .Sh NAME > @@ -399,11 +400,16 @@ of the host's domain should be considere > .It Ic listen on Ar address Oo Ic tls Oc Ic port Ar number > Set the listen address and port. > This statement can be specified multiple times. > -.It Ic location Ar path Brq ... > +.It Ic location Oo Oo Ic not Oc Ic found Oc Ar path Brq ... > Specify server configuration rules for a specific location. > The > .Ar path > argument will be matched against the request path with shell globbing rules. > +Optionally, it is also possible to match for > +.Ar found > +(i.e. accessible) or > +.Ar not found .Ic seems best suited here.