Mercurial Hosting > luan
changeset 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 |
| files | host/startup/nginx/nginx.conf.luan host/startup/nginx/nginx.default.conf.luan |
| diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 {
--- a/host/startup/nginx/nginx.default.conf.luan Tue Jan 27 19:38:01 2026 -0800 +++ b/host/startup/nginx/nginx.default.conf.luan Tue Jan 27 19:44:35 2026 -0800 @@ -7,7 +7,6 @@ proxy_set_header Host $http_host; proxy_set_header Connection ''; - error_log <%=rootDir%>/logs/nginx_error.log; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr;
