33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
<%= node["openstack"]["telemetry"]["custom_template_banner"] %>
|
|
|
|
<VirtualHost <%= @server_host %>:<%= @server_port %>>
|
|
WSGIDaemonProcess <%= @daemon_process %> processes=2 threads=10 user=<%= @user %> group=<%= @group %> display-name=%{GROUP}
|
|
WSGIProcessGroup <%= @daemon_process %>
|
|
WSGIScriptAlias / <%= @server_entry %>
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
|
|
ErrorLogFormat "%{cu}t %M"
|
|
ErrorLog <%= @log_dir %>/<%= @daemon_process %>_error.log
|
|
CustomLog <%= @log_dir %>/<%= @daemon_process %>_access.log combined
|
|
<% if @use_ssl -%>
|
|
|
|
SSLEngine On
|
|
SSLCertificateFile <%= @cert_file %>
|
|
SSLCertificateKeyFile <%= @key_file %>
|
|
SSLCACertificatePath <%= @ca_certs_path %>
|
|
<% if @chain_file %>
|
|
SSLCertificateChainFile <%= @chain_file %>
|
|
<% end -%>
|
|
SSLProtocol <%= @protocol %>
|
|
<% if @ciphers -%>
|
|
SSLCipherSuite <%= @ciphers %>
|
|
<% end -%>
|
|
<% if @cert_required -%>
|
|
SSLVerifyClient require
|
|
<% end -%>
|
|
<% end -%>
|
|
</VirtualHost>
|
|
|
|
WSGISocketPrefix <%= @run_dir %>
|