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 } }