view modules/apache/templates/fastcgi/server.erb @ 482:d83de9b3a62b default tip

Update hiera.yaml within Puppet config Forgot that we manage it from here. Now has content to match new packages
author IBBoard <dev@ibboard.co.uk>
date Fri, 30 Aug 2024 16:10:36 +0100
parents 675c1cc61eaf
children
line wrap: on
line source

<%
  timeout = " -idle-timeout #{@timeout}"
  flush = ""
  if @flush
    flush = " -flush"
  end
  if @socket
    host_or_socket = " -socket #{@socket}"
  else
    host_or_socket = " -host #{@host}"
  end

  pass_header = ""
  if @pass_header and ! @pass_header.empty?
    pass_header = " -pass-header #{@pass_header}"
  end

  options = timeout + flush + host_or_socket + pass_header
-%>
FastCGIExternalServer <%= @faux_path %><%= options %>
Alias <%= @fcgi_alias %> <%= @faux_path %>
Action <%= @file_type %> <%= @fcgi_alias %>