N
N
Nikolay2015-07-19 00:48:57
linux
Nikolay, 2015-07-19 00:48:57

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

2 answer(s)
V
vsuhachev, 2015-07-19
@vsuhachev

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.

N
Nikolay, 2015-07-19
@metallurg_it

Tried editing nginx, didn't work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question