]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/passenger/templates/default/passenger.conf.erb
imagery: fix proto headers
[chef.git] / cookbooks / passenger / templates / default / passenger.conf.erb
index 7db2728b7795acae5158ff4c35e8d52f11c28d46..1212f75882d096de2a8e09651eb62d179a71913d 100644 (file)
@@ -1,14 +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
-  PassengerUseGlobalQueue on
   PassengerMaxPoolSize <%= node[:passenger][:max_pool_size] %>
   PassengerPoolIdleTime <%= node[:passenger][:pool_idle_time] %>
+  PassengerFriendlyErrorPages off
+  PassengerInstanceRegistryDir <%= node[:passenger][:instance_registry_dir] %>
 </IfModule>