view modules/apache/templates/mod/wsgi.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 956e484adc12
children d9352a684e62
line wrap: on
line source

# The WSGI Apache module configuration file is being
# managed by Puppet an changes will be overwritten.
<IfModule mod_wsgi.c>
  <%- if @wsgi_socket_prefix -%>
  WSGISocketPrefix <%= @wsgi_socket_prefix %>
  <%- end -%>
  <%- if @wsgi_python_home -%>
  WSGIPythonHome "<%= @wsgi_python_home %>"
  <%- end -%>
  <%- if @wsgi_python_path -%>
  WSGIPythonPath "<%= @wsgi_python_path %>"
  <%- end -%>
</IfModule>