title: passenger wont find public path
body: <p>I'm trying to setup my rails server and passenger wont recognize my app giving this error on log:</p>
  
  <pre><code>[error] 1473#1473: *1 "/home/myapp/public/index.html" is not found (2: No such file or directory)
  </code></pre>
  
  <p>or a 404 error in client.</p>
  
  <p>i've done all troubleshooting possiilities to resolve but nothing.</p>
  
  <p>here is my server block:</p>
  
  <pre><code>server {
      listen 80;
      server_name mydomaiin.com;
      rails_env development;
  
     # Turn on Passenger
     passenger_enabled on;
     passenger_ruby /home/myapp/.rbenv/versions/2.4.0/bin/ruby;
  
     # Tell Nginx and Passenger where your app's 'public' directory is
     root /home/myapp/public;
  }
  </code></pre>
  
  <p>can anyone help me?</p>
  
  <p>thanks</p>