AMIMOTO User Permissions Add ec2-user to nginx group sudo usermod -a -G nginx ec2-user && exit Update Owner & Permissions sudo chown -R ec2-user:nginx /var/www && sudo chmod 2775 /var/www && find /var/www -type d -exec sudo chmod 2775 {} \; && find /var/www -type f -exec sudo chmod 0664 {} \;