Deprecate [wsgi] secure_proxy_ssl_header
The functionality of this parameter is same as the http_proxy_to_wsgi middleware in oslo.middleware. The http_proxy_to_wsgi middleware is widely used in multiple OpenStack services and has been enabled in default pipelines for several cycles. So the own implementation can be completely replaced by the common one provided by the oslo library. Change-Id: I5db80ca504e444346afcc264d3260861e54f266d
This commit is contained in:
parent
ed2bf3699d
commit
838706ded9
@ -71,6 +71,12 @@ Possible values:
|
||||
cfg.StrOpt(
|
||||
'secure_proxy_ssl_header',
|
||||
deprecated_group='DEFAULT',
|
||||
deprecated_for_removal=True,
|
||||
deprecated_since='31.0.0',
|
||||
deprecated_reason="""
|
||||
The functionality of this parameter is duplicate of the http_proxy_to_wsgi
|
||||
middleware of oslo.middleware and will be completely replaced.
|
||||
""",
|
||||
help="""
|
||||
This option specifies the HTTP header used to determine the protocol scheme
|
||||
for the original request, even if it was removed by a SSL terminating proxy.
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``[wsgi] secure_proxy_ssl_header`` parameter has been deprecated. Use
|
||||
the ``http_proxy_to_wsgi`` middleware from ``oslo.middleware`` instead.
|
Loading…
x
Reference in New Issue
Block a user