Answer the question
In order to leave comments, you need to log in
How to start passenger correctly so that the application is available on mydomain.ru and not mydomain.ru:3000?
How to start passenger correctly so that the application is available on mydomain.ru and not mydomain.ru:3000 I did
everything according to the instructions after running rails server webrick -e production the application is available on mydomain.ru:3000 what am I doing wrong?
Answer the question
In order to leave comments, you need to log in
rails server -p 3000 -e production
with this command you raise webrick built-in, not passenger from nginx
1) Check the paths, if you are deploying the capital country should be /home/deploy/myapp/current
2) Look in the nginx error.log and enable the passenger log https://www.phusionpassenger.com/documentation/Use...
3) The passenger monitors the update time of the tmp/restart.txt file, it is enough to touch tmp/restart.txt in order for the passenger to reread the application code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question