Hello,
I'm trying to install an application, but it's giving the error 403 Forbidden nginx.
I already checked the permissions of the folders and this 755.
I already installed the PHP extensions: exif and intl.
Done, Allowing execution of functions including exec, putenv, and shell_exec.
Already Add the following code to your main domain's Nginx configuration
location / {
try_files $uri $uri/ /index.php;
}
I also tried this code: location /subfoldername {
try_files $uri $uri/ /subfoldername/index.php;
}
The error pessite, this is the error log: 2023/05/19 13:49:50 [error] 451474#0: *76 directory index of "/www/wwwroot/subfoldername/" is forbidden, client: 00.000.000.000 , server: send.whatsfoods.com, request: "GET / HTTP/2.0", host: "subfoldername"
Can someone help me?