openstack-ansible-os_trove/templates/trove-httpd.conf.j2
Donovan Francesco (IS) 28f3145e6b Update
2016-08-25 14:56:41 +02:00

31 lines
1.2 KiB
Django/Jinja

# {{ ansible_managed }}
# Do not edit this file manually, your changes will be overwritten.
<VirtualHost *:{{ trove_service_port }}>
WSGIDaemonProcess trove lang='en_US.UTF-8' locale='en_US.UTF-8' user={{ trove_system_user_name }} group={{ trove_system_group_name }} processes={{ trove_wsgi_processes }} threads={{ trove_wsgi_threads }} display-name=%{GROUP}
WSGIProcessGroup trove
WSGIScriptAlias / /var/www/cgi-bin/trove/trove-api
WSGIApplicationGroup %{GLOBAL}
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
LogLevel {{ trove_apache_log_level }}
ErrorLog /var/log/trove/trove-apache-error.log
CustomLog /var/log/trove/trove-access.log combined
{% if trove_ssl | bool and trove_service_internaluri_proto == "https" -%}
SSLEngine on
SSLCertificateFile {{ trove_ssl_cert }}
SSLCertificateKeyFile {{ trove_ssl_key }}
{% if trove_user_ssl_ca_cert is defined -%}
SSLCACertificateFile {{ trove_ssl_ca_cert }}
{% endif -%}
SSLCompression Off
SSLProtocol {{ trove_ssl_protocol }}
SSLHonorCipherOrder On
SSLCipherSuite {{ trove_ssl_cipher_suite }}
SSLOptions +StdEnvVars +ExportCertData
{% endif %}
</VirtualHost>