e62c906baf
With config option NOVA_USE_MOD_WSGI=True nova-api handles requests on /compute URL. Depends on I83bc4731507fa028377ae6701ed4d32adefa9251 Change-Id: Ic84b5c0dc0726662470ef9c076a0cadca55a3917
26 lines
681 B
Plaintext
26 lines
681 B
Plaintext
Listen %PUBLICPORT%
|
|
|
|
<VirtualHost *:%PUBLICPORT%>
|
|
WSGIDaemonProcess nova-api processes=%APIWORKERS% threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
|
WSGIProcessGroup nova-api
|
|
WSGIScriptAlias / %PUBLICWSGI%
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%{cu}t %M"
|
|
</IfVersion>
|
|
ErrorLog /var/log/%APACHE_NAME%/nova-api.log
|
|
%SSLENGINE%
|
|
%SSLCERTFILE%
|
|
%SSLKEYFILE%
|
|
</VirtualHost>
|
|
|
|
Alias /compute %PUBLICWSGI%
|
|
<Location /compute>
|
|
SetHandler wsgi-script
|
|
Options +ExecCGI
|
|
WSGIProcessGroup nova-api
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
</Location>
|