How to redirect insecure http traffic to https on the OpenShift router

Solution Verified - Updated -

Issue

  • We want to force traffic from http to https for better security
  • Set insecureEdgeTerminationPolicy but it still is not working. What else can we check?
  • insecureEdgeTerminationPolicy: Redirect - It doesn't not re-direct http to https
tls:
    termination:                   edge   
    insecureEdgeTerminationPolicy: Redirect

Environment

  • Red Hat OpenShift Container Platform
    • 3.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content