N
N
neck_varentsov2014-07-28 22:23:08
Nginx
neck_varentsov, 2014-07-28 22:23:08

How to set up a web server?

Hey!
I have a ruby ​​on rails project.
I bought vds from digitalocean, and there was a gag at the web server setup step.
I just can’t make friends between nginx and unicorn or passenger.
A clean installation of ubuntu, I follow this guide https://www.digitalocean.com/community/tutorials/h...
As a result, nginx works, the rails work in dev mode, but when I try to connect through passenger I get a 502 error.
In general, if someone from the community is ready to give me some time to help with this issue, write to [email protected]
I will not remain in debt.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene Burmakin, 2014-07-29
@neck_varentsov

https://gorails.com/deploy/ubuntu/14.04 nginx + passenger

V
Viktor Vsk, 2014-07-28
@viktorvsk

In general, there is an article: habrahabr.ru/post/120368 on it, I know that many people just copy-paste (I often do it too) and everything works in 10 minutes.
Nginx and Unicorn - a good bundle for a simple vps without huge resources

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question