Hello.
I am trying to host my laravel site using aaPanel, nginx is working perfectly using the default index.html. But when i load my project files i get "HTTP ERROR 500". I checked my logs and here is the error:
-- 2024/01/26 18:49:31 [error] 24949#0: *71 directory index of "/www/wwwroot/sitetest/" is forbidden, client: 192.168.100.4, server: sitetest.com, request: "GET / HTTP/1.1", host: "sitetest.com"--
I learned through stack that its an issue with permission. So i tried this command "sudo chown -R :www-data /www/wwwroot/sitetest" but it keeps on failing. I am stuck on this error
-- chown: changing group of '/www/wwwroot/primedwriters/public/.user.ini': Operation not permitted
Am fairly new and struggling abit to resolve this. Any assistance will highly be appreciated.