Sha256: 873d2d40818cb747b0242b5d927b11ab1a533750408b53eea0cb424a89da813a

Contents?: true

Size: 1.14 KB

Versions: 22

Compression:

Stored size: 1.14 KB

Contents

<%
  @path = '/etc/apache2/mods-available/passenger.conf'
  @post = 'cd /etc/apache2/mods-enabled && ln -fs ../mods-available/passenger.conf'
%>
LoadModule passenger_module <%= rubber_env.passenger_lib %>
PassengerRoot <%= rubber_env.passenger_root %>
PassengerRuby <%= rubber_env.passenger_ruby %>
PassengerUseGlobalQueue on

# max number of rails instances per appserver
PassengerMaxPoolSize <%= rubber_env.max_app_connections %>

# Use PassengerMaxPoolSize for limit as we only have 1 app
PassengerMaxInstancesPerApp 0

# For performances sake, never shutdown rails instances when idle
PassengerPoolIdleTime 0

# For performances sake, never shutdown a rails instance after N requests
PassengerMaxRequests 0

# Passenger checks stuff like restart.txt on every request when this is 0
PassengerStatThrottleRate <%= RUBBER_ENV == 'production' ? '60' : '0' %>

# Turning this on breaks mod_rewrite
PassengerHighPerformance off

# Cache framework code per application
RailsSpawnMethod smart-lv2

# For performances sake, don't ever unload framework spawner
RailsFrameworkSpawnerIdleTime 0

# For performances sake, don't ever unload app spawner
RailsAppSpawnerIdleTime 0

Version data entries

22 entries across 12 versions & 2 rubygems

Version Path
nogara-rubber-1.7.2 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
nogara-rubber-1.7.2 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.7.2 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.7.2 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.7.1 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.7.1 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.7.0 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.7.0 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.6.3 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.6.3 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.6.2 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.6.2 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.6.1 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.6.1 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.6.0 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.6.0 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.11 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.11 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.10 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.10 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf