diff host/startup/nginx/nginx.conf.luan @ 2163:9abb0272665d default tip

merge nginx_sites_addon
author Violet7
date Sun, 01 Feb 2026 15:30:31 -0800
parents 484d2b42f2d1
children
line wrap: on
line diff
--- a/host/startup/nginx/nginx.conf.luan	Fri Jan 23 20:58:21 2026 -0600
+++ b/host/startup/nginx/nginx.conf.luan	Sun Feb 01 15:30:31 2026 -0800
@@ -15,6 +15,7 @@
 	sendfile on;
 	keepalive_timeout 65;
 
+	error_log <%=rootDir%>/logs/nginx_error.log;
 	proxy_cache_path <%=rootDir%>/local/nginx_cache levels=1:2 keys_zone=nginx_cache:60m max_size=10g inactive=60m use_temp_path=off;
 
 	upstream luan {
@@ -37,5 +38,7 @@
 	# glob pattern returns no results for site dirs that don't have 
 	# the ssl/ subdir, so this is ok
 	include <%=rootDir%>/sites/*/ssl/nginx.ssl.conf;
+	include <%=rootDir%>/nginx_sites/*/nginx.conf;
+
 }
 <%