aodh/devstack/apache-aodh.template
Julien Danjou 6f47485521 devstack: use $API_WORKERS to set the number of WSGI workers in Apache
Change-Id: I037bf5507b9944d6491b44069f7966ca70e773eb
2015-08-06 19:51:04 +02:00

16 lines
485 B
Plaintext

Listen %PORT%
<VirtualHost *:%PORT%>
WSGIDaemonProcess aodh-api processes=%APIWORKERS% threads=10 user=%USER% display-name=%{GROUP} %VIRTUALENV%
WSGIProcessGroup aodh-api
WSGIScriptAlias / %WSGIAPP%
WSGIApplicationGroup %{GLOBAL}
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
ErrorLog /var/log/%APACHE_NAME%/aodh.log
CustomLog /var/log/%APACHE_NAME%/aodh_access.log combined
</VirtualHost>
WSGISocketPrefix /var/run/%APACHE_NAME%