2016-09-06 18:14:22 +08:00
|
|
|
Listen %PORT%
|
|
|
|
|
|
|
|
<VirtualHost *:%PORT%>
|
2023-08-23 13:27:35 -03:00
|
|
|
WSGIDaemonProcess cloudkitty-api processes=2 threads=10 user=%USER% display-name=%{GROUP} python-home=%VIRTUALENV%
|
2016-09-06 18:14:22 +08:00
|
|
|
WSGIProcessGroup cloudkitty-api
|
|
|
|
WSGIScriptAlias / %WSGIAPP%
|
|
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
|
|
<IfVersion >= 2.4>
|
|
|
|
ErrorLogFormat "%{cu}t %M"
|
|
|
|
</IfVersion>
|
|
|
|
ErrorLog /var/log/%APACHE_NAME%/cloudkitty.log
|
|
|
|
CustomLog /var/log/%APACHE_NAME%/cloudkitty_access.log combined
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
WSGISocketPrefix /var/run/%APACHE_NAME%
|