I am trying to deploy my rails app(API only) using capistrano to the centos server with Nginx and passenger. When I try to hit the rails application, it says Error opening '/home/user/app/current/Passengerfile.json' for reading: Permission denied (errno=13); This error means that the Nginx worker process (PID 4344, running as UID 984) does not have permission to access this file.
But I don't have passengerfile.json in there and we don't need it.