bcd8c814b7
This adds uwsgi sample configs and documentation for deploying api services with httpd. This moves the existing mod_wsgi sample configs from devtsack folder as they are not specific to devstack. Change-Id: I91fd64d9deba3371b62c00ba8b01a7aca21b2393
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>
|