I used the One-Click Install for a Rails app. Everything appears to have gone smoothly.
So I created a folder side-by-side with the /home/rails/example app and updated /etc/nginx/sites-available/rails (and thereby sit...
Remove the IP from your nginx vhosts (188.8.131.52). Leave the subdomain there. Restart Nginx
Stop the rails service: systemctl stop rails.service
Start rails from your new app's folder like this:
Ruby on Rails
One-Click Install Apps