Strange error "403 Forbidden" for files in public/images

asset-pipeline, nginx, ruby-on-rails

Solution

Have you checked the permissions for the folder? As in right-click -> properties or 'chmod' to '755'?

Problem

I have got strange error - "403 Forbidden" for images in directory `public/images` . But other images from nested directories loads without problems (i.g. from `public/images/product` ). I'm using Nginx + passenger + capistrano. In production.rb I have `config.serve_static_assets = true` . Maybe error in assets pipeline?

Original source