M
M
MarkusEfr2018-11-01 13:40:49
Nginx
MarkusEfr, 2018-11-01 13:40:49

Why did the deployment of a Rails application to DigitalOcean fail?

Developed a training project on Rails while learning this framework. Now I'm busy deploying it - for this I chose DigitalOcean hosting and a free domain from Freenom. Following this guide https://gorails.com/deploy/ubuntu/18.04#discussion there were no problems until the very end, but after deploying from Capistrano, instead of the site, I get a 403 error from nginx.
5bdad5bdc4c91210448297.png
The Capistrano log is located here https://fex.net/026327502907?fileId=928037987 (you can choose a preview and download without registration)
It skips a couple of files about the middle but the result is successful. Who faced this problem, please help me understand what is wrong and how to successfully deploy?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artur Bordenyuk, 2018-11-01
@HighQuality

I propose to immediately learn the right things: nginx and puma. Moreover, the puma works locally in the new versions of the rail, and not the songger.
Instructions for nginx and puma
My config template for nginx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question