We are able to route the route the requests to backend down stream applications successfully, if they are just http enabled. But failing to route the requests to backend down stream application that is https enabled.
acl apigateway_playground_path path_beg /playground
acl apigateway_about_path path_beg /about
acl apigateway_schema_path path /graphql/schema.json
acl apigateway_graphql_path path /graphql
acl apigateway_oauth_token_path path_beg /apitoken.oauth2
acl field_trusted_api_path path_beg /field/trusted/api
acl directory_agent_api_path path_beg /directoryagent/api
acl cost_api_path path_beg /cost/api
acl babylon_trusted_api_path path_beg /babylon/trusted
use_backend pre_condition_failed if { path /graphql } !has_client_id
use_backend exceeds_quota_limit if rate_limit_exceeded
use_backend exceeds_global_limit if exceeds_limit_for_global
use_backend exceeds_microservice_limit if exceeds_limit_for_microservice
use_backend apigateway if apigateway_playground_path or apigateway_about_path or apigateway_schema_path or apigateway_graphql_path or apigateway_oauth_token_path
use_backend fieldTrusted if field_trusted_api_path
use_backend directoryAgent if directory_agent_api_path
use_backend costms if cost_api_path
use_backend babylonTrusted if babylon_trusted_api_path
default_backend apigateway
backend fieldTrusted
http-request set-path "%[path,regsub(^/field/,/)]"
server fieldTrusted_server1 apigw12.snbompraconex11.gbucdsint02bom.oraclevcn.com:11000 check
backend directoryAgent
http-request set-path "%[path,regsub(^/directoryagent/,/)]"
server directoryAgent_server1 apigw13.snbompraconex11.gbucdsint02bom.oraclevcn.com:8085 check
backend costms
http-request set-path "%[path,regsub(^/cost/api/,/)]"
server costms_server1 apigw13.snbompraconex11.gbucdsint02bom.oraclevcn.com:8080 check
backend babylonTrusted
http-request set-path "%[path,regsub(^/babylon/,/)]"
server babylonTrusted_server1 apigw11.snbompraconex11.gbucdsint02bom.oraclevcn.com:8443 no-check-ssl ssl verify none
Issue we are facing with
backend babylonTrusted
http-request set-path "%[path,regsub(^/babylon/,/)]"
server babylonTrusted_server1 apigw11.snbompraconex11.gbucdsint02bom.oraclevcn.com:8443 no-check-ssl ssl verify none
Backend apigw11.snbompraconex11.gbucdsint02bom.oraclevcn.com is hosted with an application that is https enabled, but the Front End api gateway is just http enabled. We are facing issue to route the http request received at api gateway to backend https.
Could someone help to sort this issue out?
Appreciate your help.