rails deployment using nginx & unicorn: 403 forbidden error
I have just setup a VPS (Centos 6.3) and deploy my app using capistrano. The VPS runs nginx & unicorn. I'm getting a 403 Forbidden error when visiting the server: this line appears in /var/log/nginx/error.log: *5 directory index of "/var/www/current/public/" is forbidden, client: xxxxx, server: xxx, request: "GET / HTTP/1.1", host: "xxxx" However, if I add the index.html to my rails app in ./public, everything works without problem. This makes me think that the routes aren't working. I have also set the permissions for all folders of /var/www using chmod -R 755 * (probably not the best idea in