A Pound reverse proxy sits between the browser client(s) and the tomcat web server(s). Its function is to forward requests received on one port to a web server on a different port. It can terminate HTTPS connections and redirect to an HTTP web server. It can also provide load-balancing by forwarding to a list of web servers.
The instructions here are for installing pound on ubuntu and configuring it as an HTTPS server forwarding to an HTTP web server on a non-standard port. These instructions assume that you have already created an SSL certificate in pem format.
More information on how to configure pound can be found here.
Install Pound
These instructions assume that you are an administrator with sudo access.
To download and install Pount:
sudo apt-get install pound
Configure Pound
Edit the pound configuration file:
sudo vi /etc/pound/pound/cfg
so that it looks something like this:
## 2 extended ## 3 Apache-style (common log format) LogLevel 1 ## check backend every X secs: Alive 30 ListenHTTPS Address 0.0.0.0 Port 443 Cert "/etc/ssl/private/hosted.phixflow.com.pem" Client 20 End Service BackEnd Address 127.0.0.1 Port 32769 End End