mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Redirected nginx logs to journalctl
This commit is contained in:
@@ -9,14 +9,11 @@ http
|
||||
{
|
||||
include mime.types;
|
||||
default_type text/html;
|
||||
|
||||
#access_log /var/log/nginx/access.log main;
|
||||
#error_log /var/log/nginx/error.log debug;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log syslog:server=unix:/dev/log;
|
||||
error_log syslog:server=unix:/dev/log;
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
gzip on;
|
||||
types_hash_max_size 4096;
|
||||
|
||||
include conf.d/*.conf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user