changeset 2091:ee7e711a91f2 ssltesting tip

fix inconsistent usage of DOMAIN/.well-known/acme-challenge and DOMAIN/acme-challenge
author Violet7
date Thu, 11 Dec 2025 20:33:51 -0800
parents 639441abad7b
children
files src/luan/host/https.luan
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
diff -r 639441abad7b -r ee7e711a91f2 src/luan/host/https.luan
--- a/src/luan/host/https.luan	Thu Dec 11 20:28:38 2025 -0800
+++ b/src/luan/host/https.luan	Thu Dec 11 20:33:51 2025 -0800
@@ -64,9 +64,7 @@
 					-- make the challenge dir. note that this is
 					-- directly under sites/DOMAIN, and *not* under
 					-- sites/DOMAIN/site.
-					local wellknown = site_dir.child(".well-known/")
-					wellknown.mkdir()
-					local acme_challenges = wellknown.child("acme-challenge/")
+					local acme_challenges = site_dir.child("acme-challenge/")
 					acme_challenges.mkdir()
 
 					-- Create a domain key to sign the certificate signing request (csr).