This documentation is for WSO2 API Manager 1.9.0 View documentation for the latest release.
Page Comparison - Adding a Reverse Proxy Server (v.1 vs v.2) - API Manager 1.9.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A reverse proxy server retrieves information from a server and sends it to a client as though the information originated from the sever reverse proxy sever rather than the reverse proxy actual server. You can use a reverse proxy server to server to block access to selected applications in a server. For example, this is useful when you want to expose the token API in API in such a way that the clients can authenticate against OAuth2 using the same port that their API's are on. 

The API Manager comes with two Web applications as  the Publisher and Store. You can route the requests that come to them through a proxy server by editing the <AM_HOME>/repository/deployment/server/jaggeryapps/store(/publisher)/site/conf/site.json file. For example, to use a reverse proxy server for the API Store, edit the <AM_HOME>/repository/deployment/server/jaggeryapps/store/site/conf/site.json file with the context and request URL as shown below.

...

To do the same for the API Publisher, edit the <AM_HOME>/repository/deployment/server/jaggeryapps/publisher/site/conf/site.json file.

Also note that if you want to change all the default API Manager ports, you do so by editing the <APIM_HOME>/repository/conf/tomcat/catalina-server.xml file.