Florian Obser(flor...@openbsd.org) on 2020.11.03 14:52:55 +0100: > On Tue, Nov 03, 2020 at 10:37:04AM +0100, Matthias Pressfreund wrote: > > > > On 2020-11-03 09:56, Florian Obser wrote: > > > On Mon, Nov 02, 2020 at 02:35:48PM +0100, Matthias Pressfreund wrote: > > >> The patch below updates the acme-client(1) manpage by providing a > > >> closer match for the httpd(8) location block accepting acme challenge > > >> responses. > > > > > > How is this better? > > > > > > When the requested file exits in /var/www/acme/ I get a 200 in both cases. > > > When the file does not exists I get a 404 in both cases. > > > > > > > It is better because I may not want the server to return 404 if the file > > does not exist. Instead, I may want to let the server fall back to its > > default behavior as shown in the example below where it would simply drop > > the connection. > > > > server "example.com" { > > ... > > block drop > > location found "/.well-known/acme-challenge/*" { ... } > > ... > > } > > I don't know, I'm not buying it, this doesn't feel neccesary for acme. > We wanted to have a minimal example that gets people going with > acme-client and httpd, now we have more fluff. > > But I guess it's just me, so meh.
Its not just you. I think the example is fine.