Phusion Passenger: a fast and robust web server and application server for Ruby, Python and Node.js
cgroup + chroot support
This fork of Phusion Passenger includes support for cgroup assignment and chroot in Apache (nginx maybe later).
Set a Cgroup directive in a VirtualHost container:
All Passenger apps spawned from the web server will inherit this control group. It can also be used to enforce memory/cpu limits.
======= Please follow the installation instructions on the website.
src/ruby_supportlib/phusion_passenger/constants.rb. Change SITE_CHROOT_ENV to another environment var. By default
SITE_ROOT is used. Constants.h will be automatically regenerated on next build. Chroot could also be adapted to a directive, but fits our usage. To populate a SITE_ROOT, add SetEnvIf in the VirtualHost container, e.g.
SetEnvIf Request_Method ^.*$ SITE_ROOT=/home/mydomain.com
Note: you could use SetEnv, but SetEnv may be overwritten in a .htaccess file with another path.
- Phusion Passenger repository
- Contributors Guide
"Passenger", "Phusion Passenger" and "Union Station" are registered trademarks of Phusion Holding B.V.