Search code examples
ruby-on-railsnginxpathrootunicorn

root path to home/index is not working with unicorn in production?


When I type into my browser my web address www.moneytree.space, I get

enter image description here

How do I make /home/index to be displayed instead. I am using rails app and unicorn and nginx. In my config/routes.rb file the root is set to "/home/index". Thank you.


Solution

  • Just delete index.html in the Rails app's public directory.