Proxy Passthrough Plugin
The Proxy Passthrough Plugin can be used to forward http(s) requests from specific URLs to another host. For example, if you want to forward requests from one realm to another realm, or to another web server, you can use the proxy passthrough plugin.
This functionality enables realms to act as a proxy to forward URL requests to any host that accepts http(s) connections.
Configuration
Once you have created the proxy passthrough plugin on the interface you require it on, you can then select it from the plugins panel for the selected interface and enter values as you wish for the configuration parameters.
The proxy passthrough plugin requires configuration information relating to the host and port that requests will be forwarded to. Below is a table that shows each configuration parameter and describes what it is used for.
Parameter Name | Description | Default Value |
HostName | Host name of the process that requests for the URL will be forwarded to | |
Port | Port on which the requests will be sent to the host | 80 |
The image below shows the Enterprise Manager Interface panel with an nhp interface running on port 9000. This interface has a proxy passthrough plugin configured to redirect requests from this interface using the URL path of /proxy and will forward these requests to any File Plugins and XML Plugins located on the productionmaster realm's nhp interface running on port 9005.
From a browser, it is now possible to enter the URL http://localhost:9000/proxy/ which will redirect this request to the interface on the productionmaster realm interface running on port 9005. This will display the details of the productionmaster realm as if you had specified the URL http://productionmaster:9005/ in your browser.