You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI Load Balancer redirect HTTP to HTTPS

Accepted answer
55
Views
3
Comments
edited Mar 11, 2021 3:40PM in OCI - General 3 comments

Content

Hi all,

i configured the Rule Sets with next configuration:


Redirect to:
Protocol: HTTPS
Host: {host}
Port: 443
Path: /{path}
Query: ?{query}
Response Code: 301 - Moved Permanently

Also, I have two listeners (one for HTTP and the other one for HTTPS) and 5 backend sets
Path Route Sets:
orce Longest Prefix Match

Backend Set Name: bs_api
orce Longest Prefix Match

Backend Set Name: bs_pdf

Redirection is not working for backend sets that are redirected by Path Route Sets but it is working with the default backend set configured in listeners when I'm not hitting the Path Route Sets.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!