is a Forbidden error
I set all directories to 755 and files to 644
What can be the problem?
read logs
Dude, Logs tell me forbiden 2021/08/27 09:20:39 [error] 439405#439405: *133 directory index of "/volumes/html/domain.com/" is forbidden, client: x.x.x.x, server: ehsan.doomain.ir, request: "GET / HTTP/1.1", host: "www.domain.com"
you shoud not do that...
you should set the owner to nginx or whatever user runs web-server
I've installed nginx as root
but it doesn't run as root
master is root workers are www-data
chown -R www-data:www-data /volumes/html/domain.com/
Обсуждают сегодня