diff host/startup/nginx/nginx.conf.luan @ 2156:d2e2bb4ad044 nginx_sites_addon

move error_log directive from nginx.default.conf.luan to nginx.conf.luan
author Violet7
date Tue, 27 Jan 2026 19:44:35 -0800
parents 088d5f215d66
children 484d2b42f2d1
line wrap: on
line diff
--- a/host/startup/nginx/nginx.conf.luan	Tue Jan 27 19:38:01 2026 -0800
+++ b/host/startup/nginx/nginx.conf.luan	Tue Jan 27 19:44:35 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 {