Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Modal dialog using apex_page.get_url behind reverse proxy

dbaserApr 9 2024 — edited Apr 9 2024

Hi,

Our ORDS installation is served behind an Nginx proxy that takes care of SSL termination. Requests are proxied to ORDS on port 80. Everything is working fine except for a small problem with modal dialogs.

When using apex_page.get_url to create a link for opening a modal dialog, the function call is translated to

javascript: apex.navigation.dialog('f?p=101:3...', {
    modal: true,
    dialog: null
}...);

this leads to opening a url in an iframe, but uses http to do so. Because we're calling http from an https page, our browser indicates a ‘Mixed content’ error and refuses to display the iframe.

Would there be a way to force Apex to use https for these requests?

Thanks!

Comments
Post Details
Added on Apr 9 2024
1 comment
356 views