Incorrect log location error

spraguey nginx-forum at
Sun May 5 14:33:43 UTC 2019

I can't seem to get past an error when specifying the log location for a

In my site.conf for the website...

access_log /webspace/;

The /webspace/ folder definitely exists at that location.

access.log is not created there. In my error.log file...

"/usr/share/nginx//webspace/" failed (2: No such
file or directory) while logging request, client: X.X.X.X, server:"

It looks like it is trying to place it as a subfolder in the /usr/share
folder instead of at the root. Any thoughts on what I am doing wrong here?

Posted at Nginx Forum:,284035,284035#msg-284035

More information about the nginx mailing list