Skip to content

apisnetworks/passenger

local
Switch branches/tags

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?
Code
This branch is 9 commits ahead, 1141 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.9%
  • Ruby 5.6%
  • C 5.3%
  • Shell 2.5%
  • Makefile 1.8%
  • JavaScript 0.6%
  • Other 0.3%