toggle menu

Getting Error with moving site and NGINX server - 403 Forbidden

Dhananjay Kumar |19 May at 09:05

Site move for 1 server to new developed server LEMP
Getting error 403 Forbidden nginx/1.14.0 (Ubuntu) apt

  • 0 like
  • 1 comment

Dhananjay Kumar19 May at 09:05

We have reviewed and seems file directory permission is changed and seems below Error:
"/var/www/domain.com/xyz.php" failed (13: Permission denied), client: xx.xxx.xx.xx

Finally used below command :
sudo chown -R www-data:www-data /var/www/*
sudo chmod -R 0755 /var/www/*
and restart nginx : sudo service nginx restart
and all working fine

Posted:

19 May at 09:05

Viewed:

2762 times

Active:

19 May at 09:05