changeset 2124:9706beda7f13 ssltesting tip

remove autoindex and add try_files under acme-challenge
author Violet7
date Mon, 12 Jan 2026 11:21:35 -0800
parents 8311ddedf344
children
files src/luan/host/Https.luan
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/host/Https.luan	Wed Jan 07 04:54:35 2026 -0800
+++ b/src/luan/host/Https.luan	Mon Jan 12 11:21:35 2026 -0800
@@ -84,7 +84,7 @@
 
 		location /.well-known/acme-challenge/ {
 			alias <%= files.acme_challenges.to_string() %>/;
-			autoindex on;
+			try_files $uri $uri/ =404;
 		}
 	}