diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2018-06-13 15:08:25 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2018-06-13 15:08:25 +0000 |
commit | 8912b26a816307f204130f703c09075f938462df (patch) | |
tree | edee2e7d7cf65de79e47b7c2bc5e6e59c35efe55 /etc | |
parent | 384d27428d8bd81ff675908ab35ae2f41692c51e (diff) |
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@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/examples/httpd.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/examples/httpd.conf b/etc/examples/httpd.conf index 9d51cd4e561..fee8d607e90 100644 --- a/etc/examples/httpd.conf +++ b/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 } } |