Setting the landing page URL to use a reverse proxy

When you configure a reverse proxy on your broker, the URL for the landing page is configured differently. The URL must contain the broker host name or IP address instead of the server host name and IP address.

About this task

The property that defines the URL is ondemand.url and it is contained in the ondemand.properties file. To configure the property, complete the following steps:
Note: You can also manually edit the properties file. You must click Admin > Reset Application after a manual edit.

Procedure

  1. Log on to the server UI with a valid admin ID and password.
  2. Click Admin > Edit properties files.
  3. Select ondemand.properties.
  4. Set the ondemand.url property to the relevant value.
    The address must contain the host name or IP address of the broker that is configured with inboundHTTP or inboundHTTPS connections. For example, https://broker.example.com/index.jsp?conncode=%c
  5. Click Submit.
  6. Click Admin > Reset Application.

Results

When the target user enters the defined URL into their browser, the request is sent to the proxy and passed to the server. During this process, the reverse proxy rewrites the URL to the relevant server URL so that the page can be retrieved from the server.
Note: To use HTTP instead of HTTPS:
  • Set the Broker configuration to InboundHTTP instead of InboundHTTPS.
  • Prefix http instead of https in the ondemand.url.