Switching freezer-api to oslo config opts and oslo logging opts to follow Openstack standards and benfit from oslo libraries Change-Id: I1b97db2e02087dccca3be25246c275d4e778094f Implements: blueprint switch-api-to-oslo-config
22 lines
671 B
Plaintext
22 lines
671 B
Plaintext
Listen %SERVICE_HOST%:%FREEZER_API_PORT%
|
|
|
|
<VirtualHost *:%FREEZER_API_PORT%>
|
|
WSGIDaemonProcess freezer-api processes=2 threads=2 user=%USER%
|
|
WSGIProcessGroup freezer-api
|
|
WSGIApplicationGroup freezer-api
|
|
WSGIScriptAlias / %FREEZER_API_DIR%/freezer_api/cmd/wsgi.py
|
|
|
|
ErrorLog /var/log/%APACHE_NAME%/freezer-api.log
|
|
CustomLog /var/log/%APACHE_NAME%/freezer-api_access.log combined
|
|
LogLevel info
|
|
|
|
<Directory %FREEZER_API_DIR%/freezer_api>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
Require all granted
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
LimitRequestBody 102400
|
|
</Directory>
|
|
</VirtualHost>
|