changeset 2111:2a0da93eb0f4 ssltesting

nginx conf relative path fix
author Violet7
date Fri, 19 Dec 2025 02:02:17 -0800
parents 20eb2fa6d28d
children 3fc7fff0f421
files src/luan/host/Https.luan
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r 20eb2fa6d28d -r 2a0da93eb0f4 src/luan/host/Https.luan
--- a/src/luan/host/Https.luan	Thu Dec 18 18:12:52 2025 -0800
+++ b/src/luan/host/Https.luan	Fri Dec 19 02:02:17 2025 -0800
@@ -69,7 +69,8 @@
 
 		ssl_certificate <%= files.local_cer_file.to_string() %>;
 		ssl_certificate_key <%= files.key_file.to_string() %>;
-		include <%= luanhost_dir.to_string() %>/local/nginx.default.conf;
+		# path is relative to the dir of the conf this comment is found in.
+		include nginx.default.conf;
 	}
 <%
 end