I was able to resolve this, but I am not sure exactly why. To simplify my
post, I removed the code that sets a variable for the base path. That's
where the problem is.
set $homedir /webspace/mydomain.com;
root ${homedir}/www;
access_log ${homedir}/log/access.log;
The root works, but access_log di
Notice the double // before webspace
> On May 5, 2019, at 10:33 AM, spraguey wrote:
>
> "/usr/share/nginx//webspace/mydomain.com/log/access.log" failed (2: No such
> file or directory) while logging request, client: X.X.X.X, server:
> www.mydomain.com..."
Cheers, Bee
I can't seem to get past an error when specifying the log location for a
website.
In my site.conf for the website...
access_log /webspace/mydomain.com/log/access.log;
The /webspace/mydomain.com/log folder definitely exists at that location.
access.log is not created there. In my error.log file.