403 forbidden nginx localhost code example Example: nginx 403 forbidden $> chown www-data:www-data /var/www $> chmod 744 /var/www