Set enable_proxy_headers_parsing to True by default
In order to allow applications to parse proxy headers,
the option should be set to True, in most cases openstack
services are run under proxy and it is save to set this
option to true by default, as it doesn't require a lot
of processing.
Change-Id: Iaf584643a4e1029d83537205124da3551e3b3eb0
Related-Prod: https://mirantis.jira.com/browse/PROD-21456
diff --git a/oslo_templates/files/queens/oslo/_middleware.conf b/oslo_templates/files/queens/oslo/_middleware.conf
index 5a9f0e4..03ce083 100644
--- a/oslo_templates/files/queens/oslo/_middleware.conf
+++ b/oslo_templates/files/queens/oslo/_middleware.conf
@@ -20,6 +20,4 @@
# Whether the application is behind a proxy or not. This determines if
# the middleware should parse the headers or not. (boolean value)
-{%- if _data.enable_proxy_headers_parsing is defined %}
-enable_proxy_headers_parsing = {{ _data.enable_proxy_headers_parsing }}
-{%- endif %}
+enable_proxy_headers_parsing = {{ _data.get('enable_proxy_headers_parsing', True) }}