Skip to content

Instantly share code, notes, and snippets.

@gouravtiwari
Created September 30, 2013 15:55
Show Gist options
  • Save gouravtiwari/6765918 to your computer and use it in GitHub Desktop.
Save gouravtiwari/6765918 to your computer and use it in GitHub Desktop.
passenger with nginx setup
gem install passenger
passenger-install-nginx-module
sudo -E /usr/local/bin/ruby /usr/local/lib/ruby/gems/2.0.0/gems/passenger-4.0.19/bin/passenger-install-nginx-module
vi /opt/nginx/conf/nginx.conf
# Add in http block:
# passenger_root /usr/local/lib/ruby/gems/2.0.0/gems/passenger-4.0.19;
# passenger_ruby /usr/local/bin/ruby;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment