Skip to content
local
Switch branches/tags
Go to file
Code
This branch is 8 commits ahead, 844 commits behind phusion:stable-6.0.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
bin
 
 
 
 
dev
 
 
doc
 
 
man
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Phusion Passenger: a fast and robust web server and application server for Ruby, Python and Node.js

Phusion Passenger

cgroup + chroot support

This fork of Phusion Passenger includes support for cgroup assignment and chroot in Apache (nginx maybe later).

cgroups

======= 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.

Jailing

======= 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.

Further reading

Legal

"Passenger", "Phusion Passenger" and "Union Station" are registered trademarks of Phusion Holding B.V.

About

Phusion Passenger with per-account jail + cgroup support

Topics

Resources

License

Packages

No packages published