If I want to view the PHP Error logs from craft true utils/logs I get an 403 Forbidden error.
nginx/1.6.2
../admin/utils/logs/phperrors.log
What could be wrong?
Had the same problem. I my case, it was the following code in my nginx config file:
location ~* (?:\.(?:bak|config|sql|fla|ini|log|sh|inc|swp|dist)|~)$ {
deny all;
}
After removing log| from the list, the problem was solved.
Sounds like a file permission issue. Make sure that phperrors.log
has acceptable read permissions.
-rw-r--r-- 1 forge forge
- I can access /admin/utils/logs
but if I select another logfile, I get the same nginx 403.
Commented
Feb 5, 2016 at 12:07
craft.log
,craft.log.1
, etc. files fine? Is it an nginx 403 or a Craft one?