Sending all nginx logs to journald
Posted on 2025-04-13 in Trucs et astuces • Tagged with systemctl, Linux
As part of my work to uniformize my server setup around systemd, I decided to make nginx log everything with journald. By default, it logs accesses and errors in log files under /var/log/nginx. I already had one log file per vhost.
To do the change, I changed my …
Continue reading