502 Bad Gateway Error Thrown When Trying to Configure Reverse Proxy to SSL Resource While Retaining the Initial Access URL
(Doc ID 2238243.1)
Last updated on AUGUST 14, 2020
Applies to:Oracle HTTP Server - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
When trying to access a resource on non-ssl port of the OHS which internally redirects to an SSL enabled backend server (retaining the initial non-ssl URL in the browser) , a 502 Bad Gateway Error is thrown.
The ohs1.log has the below entries during this time
In the above configuration, http://ohshostname:ohsport/newanalytics gets redirected to http://testing1.com/newanalytics without any issue and the URL in the browser remains http://ohshostname:ohsport/newanalytics
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