Answer the question
In order to leave comments, you need to log in
RoR Deploy (ANSIBLE + CAPISTRANO) config (need FIX)?
Good day red-eyed.
I decided to deploy the project on DO using the ANSIBLE + CAPISTRANO method (I took the info from the site https://mkdev.me/posts/nastroyka-i-deploy-rails-pr... (not advertising, because Yy is not answered there)
After completing all the preparations , there is such garbage - when you enter the IP of the server, httpS:// opens, although it should be http:// according to the nginx configs.
Actually, this is a problem and the question is how to solve?
All commands pass without errors - https://gist.github. com/METALLURG/40a08369a2acce3f1768 Puma
starts, according to the log, but the site is down (public files can be reached, but only through
http ://).
Answer the question
In order to leave comments, you need to log in
In the nginx config, you do not have the server_name directive, and most likely the default site is not disabled, which answers your request.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question