I'm very new to deployment, and I'm getting this error when I deploy my Rails app to an AWS EC2 instance
There are no Phusion Passenger(R)-served applications running whose paths begin with '/home/deploy/phjnew'.
server {
listen 80;
listen [::]:80;
server_name _;
root /home/deploy/phjnew/current/public;
passenger_enabled on;
passenger_app_env production;
location /cable {
passenger_app_group_name phjne_websocket;
passenger_force_max_concurrent_requests_per_process 0;
}
# Allow uploads up to 100MB in size
client_max_body_size 100m;
location ~ ^/(assets|packs) {
expires max;
gzip_static on;
}
}