2016-05-17 13:29:58 +08:00
|
|
|
Listen %PUBLICPORT%
|
|
|
|
|
|
|
|
<VirtualHost *:%PUBLICPORT%>
|
2017-01-11 17:04:45 +05:30
|
|
|
WSGIDaemonProcess heat-api processes=%API_WORKERS% threads=10 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
2016-05-17 13:29:58 +08:00
|
|
|
WSGIProcessGroup heat-api
|
|
|
|
WSGIScriptAlias / %HEAT_BIN_DIR%/heat-wsgi-api
|
|
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
|
|
WSGIPassAuthorization On
|
|
|
|
AllowEncodedSlashes On
|
|
|
|
<IfVersion >= 2.4>
|
|
|
|
ErrorLogFormat "%{cu}t %M"
|
|
|
|
</IfVersion>
|
2017-01-11 17:04:45 +05:30
|
|
|
ErrorLog /var/log/%APACHE_NAME%/heat_api.log
|
|
|
|
CustomLog /var/log/%APACHE_NAME%/heat_api_access.log combined
|
2016-05-17 13:29:58 +08:00
|
|
|
%SSLENGINE%
|
|
|
|
%SSLCERTFILE%
|
|
|
|
%SSLKEYFILE%
|
|
|
|
|
|
|
|
<Directory %HEAT_BIN_DIR%>
|
|
|
|
<IfVersion >= 2.4>
|
|
|
|
Require all granted
|
|
|
|
</IfVersion>
|
|
|
|
<IfVersion < 2.4>
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
</IfVersion>
|
|
|
|
</Directory>
|
|
|
|
</VirtualHost>
|