changeset 2127:9d6603bdf729 default tip

re-add custom nginx confs
author Violet7
date Thu, 15 Jan 2026 21:00:12 -0800
parents c9b474306066
children
files src/luan/host/Https.luan
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/host/Https.luan	Wed Jan 14 14:18:51 2026 -0800
+++ b/src/luan/host/Https.luan	Thu Jan 15 21:00:12 2026 -0800
@@ -86,6 +86,8 @@
 			alias <%= files.acme_challenges.to_string() %>/;
 			try_files $uri $uri/ =404;
 		}
+		# allow users to upload custom nginx.*.conf files, e.g. for mixpanel
+		include <%=luanhost_dir%>/sites/<%=domain%>/site/nginx.*.conf;
 	}
 
 	server {