Phusion Passenger with per-account jail + cgroup support
Switch branches/tags
request_handler_with_pipes release-5.2.3 release-5.2.2 release-5.2.1 release-5.2.0 release-5.1.12 release-5.1.11 release-5.1.10 release-5.1.9 release-5.1.8 release-5.1.7 release-5.1.6 release-5.1.5 release-5.1.4 release-5.1.3 release-5.1.2 release-5.1.1 release-5.1.0 release-5.0.30 release-5.0.29 release-5.0.28 release-5.0.27 release-5.0.26 release-5.0.25 release-5.0.24 release-5.0.23 release-5.0.22 release-5.0.21 release-5.0.20 release-5.0.19 release-5.0.18 release-5.0.17 release-5.0.16 release-5.0.15 release-5.0.14 release-5.0.13 release-5.0.11 release-5.0.10 release-5.0.9 release-5.0.8 release-5.0.7 release-5.0.6 release-5.0.5 release-5.0.4 release-5.0.3 release-5.0.2 release-5.0.1 release-5.0.0.rc2 release-5.0.0.rc1 release-5.0.0.beta3 release-5.0.0.beta2 release-5.0.0.beta1 release-4.0.60 release-4.0.59 release-4.0.58 release-4.0.57 release-4.0.56 release-4.0.55 release-4.0.53 release-4.0.52 release-4.0.51 release-4.0.50 release-4.0.49 release-4.0.48 release-4.0.46 release-4.0.45 release-4.0.44 release-4.0.43 release-4.0.42 release-4.0.41 release-4.0.40 release-4.0.39 release-4.0.38 release-4.0.37 release-4.0.36 release-4.0.35 release-4.0.34 release-4.0.33 release-4.0.32 release-4.0.31 release-4.0.30 release-4.0.29 release-4.0.28 release-4.0.27 release-4.0.26 release-4.0.25 release-4.0.24 release-4.0.23 release-4.0.21 release-4.0.20 release-4.0.19 release-4.0.18 release-4.0.17 release-4.0.16 release-4.0.14 release-4.0.13 release-4.0.10 release-4.0.8 release-4.0.7 release-4.0.6
Nothing to show
Clone or download
Pull request Compare This branch is 6 commits ahead, 592 commits behind phusion:stable-5.3.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.externalToolBuilders
.github
.settings
.vscode
Passenger.xcodeproj
bin
build
dev
doc
man
packaging
resources
src
test
.cproject
.editorconfig
.gitattributes
.gitignore
.gitmodules
.project
CHANGELOG
CONTRIBUTING.md
CONTRIBUTORS
Gemfile
Gemfile.lock
INSTALL.md
Jenkinsfile
LICENSE
Passenger.sublime-project
README.md
Rakefile
Vagrantfile
configure
package.json
passenger.gemspec
yarn.lock

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.