e943d0874c
This also adds the CustomLog directive to separately log requests. Change-Id: I7939e1a46f97a00f626cf282c9cba48208d9edea Closes-Bug: #1656616
29 lines
840 B
Plaintext
29 lines
840 B
Plaintext
Listen %PUBLICPORT%
|
|
|
|
<VirtualHost *:%PUBLICPORT%>
|
|
WSGIDaemonProcess heat-api-cfn processes=%API_WORKERS% threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
|
WSGIProcessGroup heat-api-cfn
|
|
WSGIScriptAlias / %HEAT_BIN_DIR%/heat-wsgi-api-cfn
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
AllowEncodedSlashes On
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%{cu}t %M"
|
|
</IfVersion>
|
|
ErrorLog /var/log/%APACHE_NAME%/heat_api_cfn.log
|
|
CustomLog /var/log/%APACHE_NAME%/heat_api_cfn_access.log combined
|
|
%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>
|