FYI a true rails app will only load from the public
directory. All the other dirs should not exist to the outside world, as it will all render through public
. If you see this example:
server {
listen 80;
server_name example.com;
root /var/www/apps/example/current/public;
index index.html index.htm;
It loads from the public dir. Perhaps you could post your nginx configuration to see what the issue is?