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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.