]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/passenger/templates/default/passenger.conf.erb
Only configure unattended-upgrades once it is installed
[chef.git] / cookbooks / passenger / templates / default / passenger.conf.erb
index 7db2728b7795acae5158ff4c35e8d52f11c28d46..f2030660cd39d6907bb0348e48fd93c4869eda5e 100644 (file)
@@ -1,14 +1,10 @@
 # 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
-  PassengerUseGlobalQueue on
   PassengerMaxPoolSize <%= node[:passenger][:max_pool_size] %>
   PassengerPoolIdleTime <%= node[:passenger][:pool_idle_time] %>
+  PassengerFriendlyErrorPages off
 </IfModule>