Developers, take a load off
Passenger ® is an app server that runs and automanages your web apps with ease. Also improves security, reliability and scalability. Learn more.

Passenger 6 has arrived
Passenger 6 introduces standardization across your stack by supporting all languages.
Over 650,000 sites use Passenger
From business critical apps with billions of requests per day to small side projects, Passenger is tailored for each scenario.
Supercharge Your Web App
Passenger has a myriad of features that are invaluable to today’s web apps and microservice APIs. You get these benefits (and more) by simply installing Passenger with Nginx or Apache. Learn how.
Optimization
Passenger was built with high performance and efficiency in mind. With Passenger’s zero-copy architecture, turbocaching and support for multiple concurrency models, you can count on Passenger to get the most out of your hardware.
Stability
Passenger auto-manages your apps’ processes, restarting them and itself if they ever crash. Passenger also keeps resource hogging apps in check, giving your web app maximum uptime.
Documentation
A tool is only as good as its users are able to wield it. Passenger comes with world class documentation to allow you to fully leverage its features.
Security
Passenger protects your web apps from various malicious attacks like slow client attacks, common HTTP parser exploits and privilege escalations.
Reliability
Passenger was battle-tested with some of the most demanding web apps for over a decade. This makes it one of the toughest app servers to date, currently powering over 650,000 web apps.
Polyglot
Deploy all your apps from one Passenger instance in seconds, regardless of the language they’re written in. No need to fiddle around with multiple app servers and proxies anymore!
You too can deploy apps with confidence
Learn what else Passenger can do for you.
As a consultant, I’m less likely to have anything to fix with Passenger, compared to other Ruby deploys. So many botched setups in the wild.
Phusion Passenger: a new web app server
With its anime robot-inspired logo and feature rich design, Phusion Passenger is clearly keen to present itself as the newest sleek and innovative tool for web hosting and development.
But is Phusion just another web server?
While at first glance the open-source Phusion Passenger software might look directly comparable with more familiar web server software like Apache and NGINX Passenger, it’s very important to distinguish Phusion as an application server as well as a standard web server.
What is a web server vs application server?
Like Apache and NGINX Passenger, Phusion Passenger can function as a typical web server.
Web servers operate by processing requests via HTTP and then delivering web content directly to web clients. But Phusion Passenger offers an extra level of support for other Ruby, Python, Node.js, and Meteor based applications that run in tandem behind the web server.
This is what makes Phusion Passenger a fully functional application server as well.
As an application server, Phusion Passenger takes requests from the web server in question and tells the applications behind it exactly what to do. It loads the code, keeps the app in memory, and communicates with the web server, which in turn responds to the user.
This additional layer can enable the application to run far more efficiently, especially if the app in question is written in a programming language not directly supported by the web server, which is why Phusion is such a great addition to any server.
From this aspect alone it’s easy to see the benefits of using an application server like Phusion, and it’s a popular concept. The two big alternative app servers to Phusion are Puma and Unicorn, but Phusion Passenger remains the leading choice, largely thanks to its wide-ranging feature set, documentation, and community support.
Keeping your Ruby apps on track
In some cases, Phusion Passenger is also referred to as a ‘rails server’ due to the way it handles Ruby-based Rails applications.
Apache and NGINX Passenger are web servers with no built-in Ruby module, so they can’t run Ruby the same way they can run PHP or Perl. But the Phusion Protocol makes it possible for Ruby apps to talk seamlessly with HTTP framework.
Web applications built using the Ruby on Rails framework are, obviously, written in the Ruby language. This means that for most Ruby on Rails app developers, the Phusion protocol forms a vital part of their preferred setup and enables them to function properly.
Lone wolf or team player?
In its usual integrated mode, Phusion runs with Apache or NGINX Passenger as one complete unit, but it’s also possible to run standalone Phusion together with Apache or NGINX Passenger using reverse proxies or its own built-in web server.
Phusion can actually be easier to start up in standalone mode, with only a minimum of tinkering required to get it up and running in a single convenient package. While this can be a viable setup for development, Phusion will usually sit behind either Apache or NGINX Passenger in a production environment.
However, the combination of Phusion Passenger with a dedicated web server does allow for more efficient handling of HTTP requests and I/O security, as well as improved performance, particularly when running multiple apps simultaneously, all of which are critical factors in a production environment.
If you’re thinking of trying Phusion Passenger for yourself, its open-source software is available completely free form their website, but there is also a paid enterprise version offering premium features for more demanding users.
At Fasthosts, our CloudNX platform offers the ideal cloud hosting environment for any developer looking to integrate Phusion Passenger into their stack. With the ability to create a powerful cloud infrastructure with your own customised configurations, we offer 24/7 support to help you get set up and started.
And it’s not just cloud hosting we offer. From WordPress hosting to website building, domains and email, Fasthosts is your on and only stop for all your online business needs.
For even more tips and tricks on setting up your online presence, you can read any of our guides or check out the Fasthosts blog for further in-depth articles.

Katie Collins
Katie manages a wide array of content at Fasthosts. Whether blogs, emails, or anything else, it’s Katie’s job to give our customers the very best info. More posts by Katie Collins.
Phusion Passenger
Phusion Passenger is what OCIO Web Hosting uses to provide support for web-based apps based on Python, Ruby, or Node.js.
We recommend you start with Phusion’s basic tutorial here.
Directories
An account configured for Phusion Passenger will contain the following directories when accessed via SFTP:
/logs
Contains symlinks to the various logs generated by the account. Updated nightly. To access logs more recent than that type cdlog from a shell.
/python | /ruby | /nodejs
These directories are where the application code should go. They will be named according to the language chosen and each will contain both a public files directory (for HTML, images, Javascript, etc.) and a symlink to the temp directory.
/tmp
This is the temporary directory that the application should use. Please be sure to reconfigure the application to use it if necessary. Do not use the server’s top-level /tmp or you will have issues due to the load-balanced nature of the Web Hosting architecture .
/htdocs
This is just a symlink to the ‘public’ directory inside of your application directory. It is where your static asset files should go. (html, jpg, css, js, …)
Languages
Currently Web Hosting supports Python, Ruby, and Node.js via Phusion Passenger. Each has a slightly different setup.
Python
Passenger utilizes the WSGI architecture standard to host Python applications. You will 1 st need to install the app and all dependencies under the /python directory. You then create an additional file in that directory called passenger_wsgi.py to instantiates and execute your code. An example launcher could contain the following:
from hello import HelloWorld as application
This would reference a file called hello.py which defines a function named HelloWorld. As per WSGI standard, this function should accept the environment and HTTP request as parameters and return the headers and page content.
def HelloWorld(environ, start_response): start_response('200 OK', [('Content-Type', 'text/plain')]) yield 'Hello, World\n'
Ruby
Ruby apps go under the /ruby directory and you will probably need shell access to maintain them. To add Passenger support, add the following to your Gemfile:
gem "passenger", ">= 5.0.25", require: "phusion_passenger/rack_handler"
And the re-run bundle install to download and integrate it.
Node.js
No launcher or modifications are required for a Node.js website. Install the application into the /nodejs directory, run npm install to download and build its dependencies, and then create a symlink called app.js to its primary script. For example, if you would normally run the app via:
node run.js
Then you would create a symlink to it as such:
ln -s run.js app.js
All I/O usually handled through the standard localhost-based URL is instead routed to the outside via Passenger and Apache. The port the app binds to is irrelevant – Passenger intercepts the I/O from all of them.
Restarting the Server
Once your application has been loaded into memory it will remain there until the site has been inactive for a sufficient period of time. During development, however, you won’t want to wait this long between deployments. A file called restart.txt exists in the /tmp directory and modifying its timestamp in any way will trigger a manual restart.
[myapp@whadmprd01 ~]$ cdweb [myapp@whadmprd01 myapp]$ cd tmp [myapp@whadmprd01 tmp]$ touch restart.txt
You can also overwrite the file via an SFTP upload and accomplish the same thing without needing to use a shell.
Need More Information?
Is OSU Web Hosting right for you? Check your eligibility.
More questions? Check the support section or contact us.
Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
A fast and robust web server and application server for Ruby, Python and Node.js
License
phusion/passenger
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch branches/tags
Branches Tags
Could not load branches
Nothing to show
Could not load tags
Nothing to show
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Cancel Create
- Local
- Codespaces
HTTPS GitHub CLI
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
b4c3921 Oct 25, 2023
Git stats
Files
Failed to load latest commit information.
Latest commit message
Commit time
March 17, 2015 14:41
March 7, 2023 22:07
February 18, 2016 10:51
November 3, 2018 09:41
May 4, 2022 14:27
October 8, 2023 08:49
October 8, 2023 00:48
April 10, 2022 12:07
March 5, 2018 15:19
October 15, 2015 18:19
October 25, 2023 17:43
April 27, 2022 09:54
October 9, 2023 09:04
October 7, 2023 15:50
October 7, 2022 15:39
February 18, 2016 10:51
November 2, 2018 08:29
November 18, 2015 09:32
October 11, 2018 14:05
October 16, 2018 12:21
December 2, 2015 09:51
October 25, 2023 16:54
September 4, 2018 12:03
October 19, 2020 08:44
October 7, 2023 12:17
October 8, 2023 01:48
October 7, 2023 00:06
January 16, 2017 11:17
October 6, 2023 22:57
March 14, 2017 08:23
August 18, 2015 22:34
March 22, 2021 12:39
October 11, 2018 16:12
July 8, 2014 17:31
October 7, 2022 15:39
December 21, 2011 21:46
May 2, 2022 12:20
April 27, 2022 09:54
May 4, 2022 11:04
README.md
Phusion Passenger®
Supercharge your Ruby, Node.js and Python apps
Phusion Passenger® is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex. Phusion Passenger supports Ruby, Python, Node.js and Meteor, and is being used by high-profile companies such as Apple, Pixar, New York Times, AirBnB, Juniper etc as well as over 650.000 websites.

Phusion Passenger — the smart app server
What makes Passenger so fast and reliable is its C++ core, its zero-copy architecture, its watchdog system and its hybrid evented, multi-threaded and multi-process design.
Learn more:
Installation
Installing the source directly from git
If you mean to install the latest version of Passenger directly from this git repository, then you should run one of the following commands. Installing from the git repository is basically the same as the tarball installation method, as described in the manual, with one exception: you need to clone git submodules:
git submodule update --init --recursive
After that, run one of the following:
./bin/passenger-install-apache2-module
./bin/passenger-install-nginx-module
# From your application directory ~/path-to-passenger/bin/passenger start
For troubleshooting, configuration and tips, please also refer to the above documentation. For further support, please refer to the Phusion Passenger support page.
Ruby users can also build a gem from the Git repository and install the gem.
gem build passenger.gemspec gem install passenger-x.x.x.gem
Further reading
- The doc/ directory.
- Contributors Guide
- Phusion Passenger support page
- Phusion Passenger release notes
Legal
«Passenger» and «Phusion Passenger» are registered trademarks of Phusion Holding B.V.
About
A fast and robust web server and application server for Ruby, Python and Node.js