This fork of Phusion Passenger includes support for cgroup assignment and chroot in Apache (nginx maybe later).
======= Learn more: Website | Documentation & Support | Github | Twitter | Blog
Set a Cgroup directive in a VirtualHost container:
Cgroup site12
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.
Edit 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
- The
doc/
directory. - Contributors Guide
- https://www.phusionpassenger.com/support
"Passenger", "Phusion Passenger" and "Union Station" are registered trademarks of Phusion Holding B.V.