From e563c271ca2a614dfc723cd352a7d73e29e2a0da Mon Sep 17 00:00:00 2001 From: reyk <> Date: Wed, 13 Jun 2018 15:08:24 +0000 Subject: [PATCH] Rename httpd.conf "root strip" option to "request strip". "root strip" was semantically incorrect and did cause some confusion as it never stripped the root but the client's request path. Discussed with many. Heads up: this is a grammar change that also affects acme-client(1) configurations (see current.html). OK claudio@ --- src/etc/examples/httpd.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/examples/httpd.conf b/src/etc/examples/httpd.conf index 9d51cd4e..fee8d607 100644 --- a/src/etc/examples/httpd.conf +++ b/src/etc/examples/httpd.conf @@ -1,10 +1,10 @@ -# $OpenBSD: httpd.conf,v 1.19 2018/04/11 15:51:50 florian Exp $ +# $OpenBSD: httpd.conf,v 1.20 2018/06/13 15:08:24 reyk Exp $ server "example.com" { listen on * port 80 location "/.well-known/acme-challenge/*" { root "/acme" - root strip 2 + request strip 2 } location * { block return 302 "https://$HTTP_HOST$REQUEST_URI" @@ -22,6 +22,6 @@ server "example.com" { } location "/.well-known/acme-challenge/*" { root "/acme" - root strip 2 + request strip 2 } }