ssl: deprecated in favor of http_proxy_to_wsgi
Change-Id: Ic2d3dcadbaaaa2819f2c84b23778a2e407a9b127
This commit is contained in:
parent
50755b1212
commit
67ec676980
@ -9,7 +9,7 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from debtcollector import removals
|
||||
from oslo_config import cfg
|
||||
from oslo_middleware import base
|
||||
|
||||
@ -17,12 +17,17 @@ from oslo_middleware import base
|
||||
OPTS = [
|
||||
cfg.StrOpt('secure_proxy_ssl_header',
|
||||
default='X-Forwarded-Proto',
|
||||
deprecated_for_removal=True,
|
||||
help="The HTTP Header that will be used to determine what "
|
||||
"the original request protocol scheme was, even if it was "
|
||||
"hidden by an SSL termination proxy.")
|
||||
]
|
||||
|
||||
|
||||
removals.removed_module(__name__,
|
||||
"oslo_middleware.http_proxy_to_wsgi")
|
||||
|
||||
|
||||
class SSLMiddleware(base.ConfigurableMiddleware):
|
||||
"""SSL termination proxies middleware.
|
||||
|
||||
|
@ -13,3 +13,4 @@ oslo.utils>=2.0.0 # Apache-2.0
|
||||
six>=1.9.0
|
||||
stevedore>=1.5.0 # Apache-2.0
|
||||
WebOb>=1.2.3
|
||||
debtcollector>=0.3.0 # Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user