I'm trying to get Nginx to log both in a log file and to stderr. The reasoning behind this is that I want Nginx to log to a log file as well as to journald. From the research and tests I've done I can make it do one or the other, but not both.
To a log file:
error_log /var/log/nginx/error.log;
To journald:
error_log stderr;
Which I did in:
/etc/nginx/sites-available/DOMAIN.COM.conf
Is doing something like this possible? If so how would it be done?