Turn off "friendly" error messages for passenger
authorTom Hughes <tom@compton.nu>
Sat, 13 Dec 2014 21:28:24 +0000 (21:28 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 13 Dec 2014 21:28:44 +0000 (21:28 +0000)
They're supposed to be off by default in production but that
doesn't actually seem to be true.

cookbooks/passenger/templates/default/passenger.conf.erb

index 958c729d88eab98fda4cac6745fed53463e13def..f2030660cd39d6907bb0348e48fd93c4869eda5e 100644 (file)
@@ -6,4 +6,5 @@
   PassengerRuby /usr/local/bin/passenger-ruby
   PassengerMaxPoolSize <%= node[:passenger][:max_pool_size] %>
   PassengerPoolIdleTime <%= node[:passenger][:pool_idle_time] %>
+  PassengerFriendlyErrorPages off
 </IfModule>