Check the permissions of directories /var/www/vhosts/barelef_art/barelef-art.kiev.ua/
& /var/www/vhosts/barelef_art/
.
When getting forbidden errors in either Nginx or Apache it is always worth working your way back up the tree of directories to ensure the web server can access at each level.
manpreet
Best Answer
2 years ago
I have few WordPress websites, all with same config - difference only with
user
anddomain
, but got 403 only for newly created virtualhost:And also - similar php-fpm ref="https://forum.tuteehub.com/tag/c">configs for few sites:
User exist:
And virtualhost ref="https://forum.tuteehub.ref="https://forum.tuteehub.com/tag/c">com/tag/direref="https://forum.tuteehub.com/tag/c">ctory">direref="https://forum.tuteehub.com/tag/c">ctory have ref="https://forum.tuteehub.com/tag/c">correref="https://forum.tuteehub.com/tag/c">ct owner:
But when I try open index.php - I got in log:
What I'm doing wrong?
Onref="https://forum.tuteehub.com/tag/c">ce again - same ref="https://forum.tuteehub.com/tag/c">configuration files used for few websites with same CMS, and they works. One of them I added today morning. In evening - added this new - and it's don't work... Seems - I missed something, but - ref="https://forum.tuteehub.com/tag/c">can't understood what and where.
CentOS 6.6, Nginx 1.6.2.
UPD
Adding index.html and open it directly with http://barelef-art.kiev.ua/index.html also returns 403;
ps
return correct user for PHP-FPM process:But it seems more NGINX issue...