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/" failed (13: Permission denied), client:

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


19 May at 09:05


2429 times


19 May at 09:05