8f335f544e
Add support for enabling WSGI in Apache for the devstack plugin. This will allow an additional CI gate. Change-Id: I953dbdab71029b392f8846c50fa3d801c293cc5a
29 lines
841 B
Plaintext
29 lines
841 B
Plaintext
Listen %PUBLICPORT%
|
|
|
|
<VirtualHost *:%PUBLICPORT%>
|
|
WSGIDaemonProcess mistral-api processes=%API_WORKERS% threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
|
WSGIProcessGroup mistral-api
|
|
WSGIScriptAlias / %MISTRAL_BIN_DIR%/mistral-wsgi-api
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
AllowEncodedSlashes On
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%{cu}t %M"
|
|
</IfVersion>
|
|
ErrorLog /var/log/%APACHE_NAME%/mistral_api.log
|
|
CustomLog /var/log/%APACHE_NAME%/mistral_api_access.log combined
|
|
%SSLENGINE%
|
|
%SSLCERTFILE%
|
|
%SSLKEYFILE%
|
|
|
|
<Directory %MISTRAL_BIN_DIR%>
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfVersion>
|
|
</Directory>
|
|
</VirtualHost>
|