I need to deploy my own application on a DigitalOcean server, I have a droplet with the One Click app image for Ruby On Rails and it has an empty running application called rails_project by default.
I need to know how to change the configuration or what to change in the configuration to start using my own application cloned from my repository.
I've tried several things, like modifying the /etc/unicorn.conf and / etc / nginx / sites-enabled / rails files but I'm still getting error 502. I do not know what to do anymore, I need help.