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

  • SEARCH
  • Home
  • 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 8943121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:41:44+00:00 2026-06-15T11:41:44+00:00

I searched google for deploying multiple rails websites using phusion passenger 3.0.17 with nginx

  • 0

I searched google for deploying multiple rails websites using phusion passenger 3.0.17 with nginx but I didn’t get relevant results. Any how I completed passenger nginx setup by running passenger-install-nginx-module command.

Ques 1) I am looking for proper beginner tutorial for running multiple rails websites using phusion passenger 3.0.17 with nginx

Ques 2) I am looking commands for start, stop, restart the (whole passenger nginx server (ie) for all websites) and also for (Individual rails websites)

Note: I am not looking for passenger standalone solution. I am using REE 1.8.7 and rails 2.3.14

  • 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-06-15T11:41:45+00:00Added an answer on June 15, 2026 at 11:41 am

    According to the documentation for Passenger, you create a new vhost for each app you want to deploy.
    And point the site root at your apps public directory, and add the passenger_enabled directive. Exactly the same as deploying with Apache.

    http {
        ...
    
        server {
            listen 80;
            server_name www.mycook.com;
            root /webapps/mycook/public;
            passenger_enabled on;
        }
    
        ...
    }
    

    More here: http://www.modrails.com/documentation/Users%20guide%20Nginx.html#deploying_a_ror_app

    In regards question 2. Restarting depends on what you are trying to do. I’m going to assume you’re using a distro that uses init.d

    These are 3 cases where you do a different kind of ‘restart’.

    You have an issue with some config you have on Nginx. Or it’s behaving strangely.
    So you would restart the Nginx service like this: /etc/init.d/nginx restart

    The next case is you have a rails or sinatra app deployed on Nginx with the passenger module.
    And you want to make it reload some changes you just pushed to the server.
    Passenger watches the tmp/restart.txt file in your application. So by simply runnging touch tmp/restart.txt. While cd’d into the app’s folder will tell Passenger to reload the application.

    And the last case for restarting/reloading is reload for Nginx.
    You use this when you add or change your VHOSTs.
    /etc/init.d/nginx reload. This allows you to reload your vhosts and other config without dropping connections.

    Have a gander at the Passenger Documentation, it is very thorough. nginx-passenger docs

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

Sidebar

Related Questions

I've searched Google about this specific exception and multiple results have surfaced but I
I searched Google search APIs and didn't find a way to get a website
I have searched google, but I didn't find anything. I searched this site and
I'm develop a website using ruby on rails. I searched google found a CSS
I've searched google and stackvoverflow to get the answers but it all boils down
I have searched Google for the standalone Hibernate/Spring applications, but didn't find any useful
I've searched google and SO for a solution to this problem but have not
I have searched on google about how to get started with the dependency property
I've asked Google and searched through the NServiceBus website and forums, but I can't
I searched google but couldn't find an answer to this rather simple question. I

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.