I am running this website: http://spalaxys.online and unexpectedly it just prints “Error 403 Forbidden”. Therefore I looked into my log file and this is what’s written: 2017/10/16 07:09:48 [error] 25750#25750: *159 directory index of “/home/fede/apps/spalaxys/public/” is forbidden, client: 165.227.67.242, server: , request: “HEAD / HTTP/1.0”
Does anyone know how to solve this? Any help would be greatly appreciated!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Your website looks fine now, but keep in mind, /home/fede/apps/spalaxys/public/ is your webserver root directory and should have the permission AND the ownership of www-data:www-data. This can be done by the following command:
chown -R www-data:www-data /home/fede/apps/spalaxys/public/
Apparently something has modified that directory that you need to investigate!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.