Posts

Showing posts from July, 2022

How to setup ROR project with nginx + passenger.

Image
This blog is about how you can setup Exiting Ruby on rails Application with Nginx and Passenger. This setup is done on ubuntu 18.04. So below ubuntu 18.04 you may find some dependency issue. In this blog I have setup first Nginx and Passenger. Then after Installed Ruby using RVM.   then installed rails. Also I have installed Postgres. In the end, I have added setups to setup Nginx config file for pointing ruby on rails application. Step :- 1 Installation of Nginx #install nginx for passenger sudo apt-get update sudo apt install nginx-extras sudo service nginx start Step :- 2 Install nginx and passenger module # install our PGP key and add HTTPS support for APT sudo apt-get install -y dirmngr gnupg sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7 sudo apt-get install -y apt-transport-https ca-certificates #Add our APT repository sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger bionic main > /etc/apt/sourc...

Contact Me

Name

Email *

Message *