Skip to content

Instantly share code, notes, and snippets.

@jeffjohnson9046
Created January 9, 2014 20:54
Show Gist options
  • Save jeffjohnson9046/8341816 to your computer and use it in GitHub Desktop.
Save jeffjohnson9046/8341816 to your computer and use it in GitHub Desktop.
An example passenger.conf file for setting up a Rails app to run in Phusion Passenger.
# The Passanger Apache module configuration file is being
# managed by Puppet and changes will be overwritten.
<IfModule mod_passenger.c>
PassengerRoot /usr/local/rvm/gems/ruby-1.9.3-p484/gems/passenger-3.0.21
PassengerRuby /usr/local/rvm/wrappers/ruby-1.9.3-p484/ruby
PassengerMaxPoolSize 30
PassengerPoolIdleTime 300
PassengerDefaultUser appuser # set this to whoever owns the directories for your Rails app
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment