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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

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!

Submit an Answer