]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/passenger/templates/default/passenger.conf.erb
Merge remote-tracking branch 'github/pull/692'
[chef.git] / cookbooks / passenger / templates / default / passenger.conf.erb
index 002394f2eac3d6e9ccb3cacccef5947a486a533a..1212f75882d096de2a8e09651eb62d179a71913d 100644 (file)
@@ -1,16 +1,11 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 <IfModule mod_passenger.c>
-<% if node[:passenger][:version] >= "4" -%>
   PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
   PassengerDefaultRuby /usr/bin/ruby
-<% else -%>
-  PassengerRoot /usr
-<% end -%>
   PassengerRuby /usr/local/bin/passenger-ruby
-<% if node[:passenger][:version] < "4" -%>
-  PassengerUseGlobalQueue on
-<% end -%>
   PassengerMaxPoolSize <%= node[:passenger][:max_pool_size] %>
   PassengerPoolIdleTime <%= node[:passenger][:pool_idle_time] %>
+  PassengerFriendlyErrorPages off
+  PassengerInstanceRegistryDir <%= node[:passenger][:instance_registry_dir] %>
 </IfModule>