please, I have a react js application that I want to deploy on my server (Centos 7), I have already generated the build and I have installed nginx on my server and I have created the folder www under /var/
where I have put the content of my build following the path : /var/www/merchant-dashboard/html
.
and I have already allocated the 777 permissions for the www
folder and all its subdirectories and files
I created my configuration file under /etc/nginx/conf.d
and named it merchantDashboard.conf
here is its content :
I have also set the permissions for the nginx user with the command
sudo chown -R nginx:nginx *
.
(my user is called nginx) but I still get the 403 forbidden
error.
Here is my error logs :
if someone can help me please