title: Why does Rails give 404 error for all assets?
body: <p>I've deployed my rails app with the Asset Pipeline enabled like so inside the application.rb file:</p>
  
  <pre><code># Enable the asset pipeline
  config.assets.enabled = true
  </code></pre>
  
  <p>When I checking, I can see the files have been processed by the compiler inside the <code>public/assets</code> directory but when I browser the website none of the assets can be resolved by the browser. If I directly access the assets I will see a 404 message by Nginx.</p>
  
  <p>Can someone tell me what's going on?</p>