f5dd178fc5
Trace method is enabled in default for httpd. There is security risk with trace enabled. So disable it in default. more info please check[0]. [0] https://security.stackexchange.com/a/7711 Change-Id: I4496a6d058d88e1abfb210085f189e7a610e0362 Closes-Bug: #1705160
26 lines
961 B
Django/Jinja
26 lines
961 B
Django/Jinja
{% set freezer_log_dir = '/var/log/kolla/freezer' %}
|
|
{% set python_path = '/usr/lib/python2.7/site-packages' if kolla_install_type == 'binary' else '/var/lib/kolla/venv/lib/python2.7/site-packages' %}
|
|
Listen {{ api_interface_address }}:{{ freezer_api_port }}
|
|
|
|
TraceEnable off
|
|
|
|
<VirtualHost *:{{ freezer_api_port }}>
|
|
WSGIDaemonProcess freezer-api processes={{ openstack_service_workers }} threads=1 user=freezer display-name=%{GROUP}
|
|
WSGIProcessGroup freezer-api
|
|
WSGIApplicationGroup freezer-api
|
|
WSGIScriptAlias / {{ python_path }}/freezer_api/cmd/wsgi.py
|
|
|
|
ErrorLog {{ freezer_log_dir }}/freezer-api.log
|
|
CustomLog {{ freezer_log_dir }}/freezer-api_access.log combined
|
|
LogLevel info
|
|
|
|
<Directory {{ python_path }}/freezer_api>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
Require all granted
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
LimitRequestBody 102400
|
|
</Directory>
|
|
</VirtualHost>
|