My Oracle Support Banner

[OCI-C LBaaS] How to Redirect Both HTTP and HTTPS Requests to HTTPS URLs with Classic Load Balancer (Doc ID 2466525.1)

Last updated on FEBRUARY 25, 2019

Applies to:

Oracle Compute Cloud Service - Version N/A and later
Information in this document applies to any platform.


How to configure Oracle Cloud Infrastructure Classic (OCI-C) Load Balancer (LB) to accept both HTTP and HTTPS requests from the internet and redirect both types of requests to destination URLs configured only for HTTPS.

This document is not a thorough step-by-step of every aspect of configuring a Load Balancer (LB).  Rather, it highlights the important configurations needed to accomplish the specific goal of redirecting both HTTP and HTTPS traffic to Origin Servers that accept only HTTPS requests.  You should have the following understanding from the documentation Using Oracle Cloud Infrastructure Load Balancing Classic.

  • A basic understanding of Load Balancing Classic
  • Know how to create a basic LB
  • Have already completed the network configuration required to create an LB
  • Have already configured the Origin Servers/applications to accept HTTPS requests on port 443
  • Know the acceptable trusted certificate formats and how to import them for your LB and origin servers
  • The various LB Policies and how to configure them, including Trusted Certificate Policy and Redirect Policy



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.