Report this

What is the reason for this report?

Rails on Ubuntu Droplet - Moving Rails

Posted on December 1, 2013

I used the rails ubuntu droplet

where theres a rails app set up by default in /home/rails

ive configured some new vhosts in nginx at /var/www/domain.tld/public_html

a few of these are just flat html things, but i want my rails apps to be in these locations

just setting up the files in the domains public_html folder doesnt work as when visiting the url, it seems to just start running the /home/rails implementation anyway

Some help would be appreciated!

Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Please pastebin your nginx virtualhost configs.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.