blob: 1822dbe139423642262dc0de1f3d65daf53b5fd4 [file] [log] [blame]
{%- from "aodh/map.jinja" import server with context %}
Listen {{ server.bind.host }}:{{ server.bind.port }}
<VirtualHost *:{{ server.bind.port }}>
WSGIDaemonProcess aodh-api processes=2 threads=10 user=aodh display-name=%{GROUP}
WSGIProcessGroup aodh-api
WSGIScriptAlias / /usr/share/aodh/app.wsgi
WSGIApplicationGroup %{GLOBAL}
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
ErrorLog /var/log/apache2/aodh_error.log
CustomLog /var/log/apache2/aodh_access.log combined
</VirtualHost>