view modules/apache/templates/mod/passenger.conf.erb @ 257:675c1cc61eaf

Update Apache module to get CentOS 8 support Unfortunately it only fixes some bits. mod_wsgi still needs other approaches This also overrides the vhost modification to make them come last in the import order (after module loading)
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Dec 2019 14:43:29 -0500
parents 37675581a273
children d9352a684e62
line wrap: on
line source

# The Passenger Apache module configuration file is being
# managed by Puppet and changes will be overwritten.
<IfModule mod_passenger.c>
  <%- if @passenger_root -%>
  PassengerRoot "<%= @passenger_root %>"
  <%- end -%>
  <%- if @passenger_ruby -%>
  PassengerRuby "<%= @passenger_ruby %>"
  <%- end -%>
  <%- if @passenger_default_ruby -%>
  PassengerDefaultRuby "<%= @passenger_default_ruby %>"
  <%- end -%>
  <%- if @passenger_high_performance -%>
  PassengerHighPerformance <%= @passenger_high_performance %>
  <%- end -%>
  <%- if @passenger_max_pool_size -%>
  PassengerMaxPoolSize <%= @passenger_max_pool_size %>
  <%- end -%>
  <%- if @passenger_min_instances -%>
  PassengerMinInstances <%= @passenger_min_instances %>
  <%- end -%>
  <%- if @passenger_max_instances_per_app -%>
  PassengerMaxInstancesPerApp <%= @passenger_max_instances_per_app %>
  <%- end -%>
  <%- if @passenger_pool_idle_time -%>
  PassengerPoolIdleTime <%= @passenger_pool_idle_time %>
  <%- end -%>
  <%- if @passenger_max_request_queue_size -%>
  PassengerMaxRequestQueueSize <%= @passenger_max_request_queue_size %>
  <%- end -%>
  <%- if @passenger_max_requests -%>
  PassengerMaxRequests <%= @passenger_max_requests %>
  <%- end -%>
  <%- if @passenger_spawn_method -%>
  PassengerSpawnMethod <%= @passenger_spawn_method %>
  <%- end -%>
  <%- if @passenger_stat_throttle_rate -%>
  PassengerStatThrottleRate <%= @passenger_stat_throttle_rate %>
  <%- end -%>
  <%- if @rack_autodetect -%>
  RackAutoDetect <%= @rack_autodetect %>
  <%- end -%>
  <%- if @rails_autodetect -%>
  RailsAutoDetect <%= @rails_autodetect %>
  <%- end -%>
  <%- if @passenger_use_global_queue -%>
  PassengerUseGlobalQueue <%= @passenger_use_global_queue %>
  <%- end -%>
  <%- if @passenger_app_env -%>
  PassengerAppEnv <%= @passenger_app_env %>
  <%- end -%>
  <%- if @passenger_log_file -%>
  PassengerLogFile <%= @passenger_log_file %>
  <%- end -%>
  <%- if @passenger_log_level -%>
  PassengerLogLevel <%= @passenger_log_level %>
  <%- end -%>
  <%- if @passenger_data_buffer_dir -%>
  PassengerDataBufferDir <%= @passenger_data_buffer_dir %>
  <%- end -%>
</IfModule>