logs - move everything from /var/log to /var/log/nginx

This commit is contained in:
bunkerity
2021-07-07 14:36:00 +02:00
parent d03a1a6e3b
commit e241b0c939
5 changed files with 24 additions and 22 deletions

View File

@@ -52,8 +52,8 @@ http {
# write logs to local syslog
log_format logf '{{ LOG_FORMAT }}';
access_log /var/log/access.log logf;
error_log /var/log/error.log {{ LOG_LEVEL }};
access_log /var/log/nginx/access.log logf;
error_log /var/log/nginx/error.log {{ LOG_LEVEL }};
# temp paths
proxy_temp_path /tmp/proxy_temp;