This project provides a basic web server implementation written in Java. It is designed to be used as a practical example for lab exercises involving HAPROXY, a popular open-source load balancer and proxy server.
## Table of Contents
1.[Introduction](#introduction)
2.[Features](#features)
3.[Getting Started](#getting-started)
*[Running the Web Server](#running-the-web-server)
4.[HAProxy Configuration](#haproxy-configuration)
5.[Usage Examples with HAProxy](#usage-examples-with-haproxy)
## Introduction
The Simple Web Server is intended to be deployed as part of a HAProxy proxy lab setup. This server can serve a simple HTML page and respond to status check requests, making it an excellent candidate for load balancing experiments using HAProxy.
## Features
- Serves a static HTML page.
- Allows configuration of the server name via command-line arguments.
- Responsive to health checks for load balancing applications (using `/status` endpoint).
## Getting Started
### Running the Web Server
To run a server instance, you need to specify `PORT_NUMBER` and `SERVER_NAME`: