I noticed when I test my nginx config using nginx -t
, it gives me a warning:
nginx: [alert] could not open error log file: open() "/var/logs/nginx/error.log" failed (2: No such file or directory
)
Which makes sense, since the log path for nginx is actually set up to be /var/log/nginx/
not /var/logs/nginx
.
I scanned the entire nginx config directory and there is nothing there referencing /var/logs. I'm at a loss as to where this log location could be written?