comparison 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
comparison
equal deleted inserted replaced
2155:088d5f215d66 2156:d2e2bb4ad044
13 include mime.types; 13 include mime.types;
14 default_type application/octet-stream; 14 default_type application/octet-stream;
15 sendfile on; 15 sendfile on;
16 keepalive_timeout 65; 16 keepalive_timeout 65;
17 17
18 error_log <%=rootDir%>/logs/nginx_error.log;
18 proxy_cache_path <%=rootDir%>/local/nginx_cache levels=1:2 keys_zone=nginx_cache:60m max_size=10g inactive=60m use_temp_path=off; 19 proxy_cache_path <%=rootDir%>/local/nginx_cache levels=1:2 keys_zone=nginx_cache:60m max_size=10g inactive=60m use_temp_path=off;
19 20
20 upstream luan { 21 upstream luan {
21 server 127.0.0.1:8080; 22 server 127.0.0.1:8080;
22 } 23 }