Clustering with Apache Lounge on Windows with SSL
Introduction
This is a supplementary article for the article Server Clustering. It explains how to configure Apache Lounge on Windows to act as a load balancer using SSL instead of using Apache 2 on a Linux-based system. Apache Lounge will handle SSL connections from clients and forward requests to Joget nodes, which are also set up to use SSL.
Deployment guide
Prerequisites
- Prepare .crt and .key files for SSL configurations.
In this guide, our files are:-C:\Users\cat\apache-selfsigned.crt
C:\Users\cat\apache-selfsigned.key
- Both node 1 and node 2 are accepting SSL connections.
In this guide, the paths are:-https://server1:443
https://server2:443
Download apache lounge
To download Apache Lounge, follow the steps below:
- Download Apache Lounge from http://www.apachelounge.com/download/
- Extract to your preferred location.
- For the purpose of this guide, we are going to extract it to
c:/Users/cat/Apache24
.
Server clustering
Please follow the steps in Server Clustering except for Configure Load Balancer section.
Configure load balancer
Edit the file \Apache24\conf\httpd.conf
.
Uncomment these lines to enable the necessary modules.
Configure the variable SRVROOT
to point to your working path.
Append ServerName
right after the line above with your domain name.
Look for Listen
, and add the following line after it.
Append these to the end of the file.
Create a new folder at this location to host the log files.
C:\Users\cat\Apache24\joget\logs
Start the Apache server
Once you have verified that it is working, you may consider setting it up as a Windows service (see https://httpd.apache.org/docs/2.4/platform/windows.html#winsvc).