Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6032027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:16:23+00:00 2026-05-23T05:16:23+00:00

Does using Passenger Standalone (powered by Nginx core) imply that we do not need

  • 0

Does using Passenger Standalone (powered by Nginx core) imply that we do not need the web facing HTTP servers like Apache or Nginx at all?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:16:23+00:00Added an answer on May 23, 2026 at 5:16 am

    The short answer is “yes” that is indeed how it works. Basically passenger standalone allows you to run your application via passenger start, and it uses nginx behind the scenes to actually serve rails requests.

    There is one big problem with running passenger standalone as your only webserver, however. If you want to run more than one ruby-based website, you’ll have to run them each on separate ports, since there’s no way to proxy requests to individual applications with passenger standalone by itself.

    In my environment, I needed to run multiple sites using multiple different versions of ruby (not just different versions of rails). For example I have one site running Rails 2.3.x with Ruby Enterprise Edition, and another site running Rails 3.0.x running Ruby 1.9.2. I used passenger standalone with a separate Nginx proxy to solve this problem:

    • Each website runs passenger standalone, which I have configured to listen on a local UNIX socket. I use RVM to take care of loading my ruby version for me, so my passenger start command is a bit lengthy, but it looks like this:

      • cd /path/to/my/app; rvm use ree-1.8.7-2011.03@gemset; export GEM_HOME=/usr/local/rvm/gems/ree-1.8.7-2011.03@gemset; /usr/local/rvm/gems/ree-1.8.7-2011.03@gemset/bin/passenger start -d -S /tmp/mysite.com.sock -e production --pid-file /path/to/my/app/shared/pids/passenger.pid
    • Now that my app is running and listening at /tmp/mysite.com.sock, I have another Nginx instance that runs on port 80 that just uses simple proxy_pass rules to send requests to each site individually.

    Sorry for the long post, and maybe it’s a bit too much information… but I’ve found that this combo works really well, and I’ve written some nice init.d style scripts to launch my individual passenger standalone apps. Nginx memory usage is so amazingly low that it doesn’t really cost anything to run 3 instances of it (1 for each site, and 1 on port 80).

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does WPF support using a triggers that respond to routed events but only given
A using declaration does not seem to work with an enum type: class Sample{
Our host does not allow us to modify the passenger config file (i.e. the
I'm using the init.d script from this: http://wiki.nginx.org/RedHatNginxInitScript but this script sucks on my
Does using namespaces make a site faster or slower? That's what I would like
I'm using Nginx 0.7.64, Passenger 2.2.9, Rails 2.3.5. I have my page caching directory
I've deployed my app on to a Ubuntu VPS using Capistrano, nginx/ Passenger and
Does using an nHiberbnate session/transaction combo perform the same function that the unit of
I'm using Nginx with Phusion Passenger to run a Rails app on an EC2
Does using Multiple .NET Languages (Delphi, VB.NET, C#) into the same application (but in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.