comparison host/startup/nginx/nginx.conf.luan @ 2163:9abb0272665d

merge nginx_sites_addon
author Violet7
date Sun, 01 Feb 2026 15:30:31 -0800
parents 484d2b42f2d1
children
comparison
equal deleted inserted replaced
2148:1e40503a1c3c 2163:9abb0272665d
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 }
35 } 36 }
36 37
37 # glob pattern returns no results for site dirs that don't have 38 # glob pattern returns no results for site dirs that don't have
38 # the ssl/ subdir, so this is ok 39 # the ssl/ subdir, so this is ok
39 include <%=rootDir%>/sites/*/ssl/nginx.ssl.conf; 40 include <%=rootDir%>/sites/*/ssl/nginx.ssl.conf;
41 include <%=rootDir%>/nginx_sites/*/nginx.conf;
42
40 } 43 }
41 <% 44 <%