1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

ACME letsencrypt support, more /help

This commit is contained in:
psyc://psyced.org/~lynX 2016-05-21 17:38:54 +02:00
parent 1cc3dc1dc8
commit c3b7b4f664
5 changed files with 16 additions and 5 deletions

View file

@ -279,6 +279,14 @@ case "/oauth":
T("_HTML_tail", "</td></tr></table></center></body>"));
quit();
return 1;
} else if (abbrev("/.well-known/", item)) {
P0(("ACME domain ownership check %O\n", item))
if (file_size(item) > 0) {
http_ok(prot, "application/x-letsencrypt-acme", 0);
binary_message(read_file(item));
quit();
return 1;
}
}
}