Comment 1 for bug 1758675

Revision history for this message
Nobuto Murata (nobuto) wrote : Re: test failure with HTTPS: tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination

Adding the section below by hand into cinder.conf and restarting apache2 make the test pass.

====
[oslo_middleware]
enable_proxy_headers_parsing = True
====

We already have
RequestHeader set X-Forwarded-Proto "https"
in /etc/apache2/sites-enabled/openstack_https_frontend.conf.

enable_proxy_headers_parsing seems the equivalent config in backend services.

> enable_proxy_headers_parsing
> default=False,
> Whether the application is behind a proxy or not.
> This determines if the middleware should parse the
> headers or not.