Skip to content

ItsAMeMarcel/blog-loadbalancer-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basics: Loadbalancing with NGINX

This repository contains code examples from the blog post Basics: Loadbalancing with NGINX. The guide demonstrates how to set up a simple load balancing environment using NGINX and Podman.

Prerequisites

Project Structure

The project consists of:

  • A PHP web application to display server hostnames.
  • An NGINX configuration for load balancing in round robin mode.
  • A compose.yaml file to define and manage services with Podman Compose.

Usage

  1. Clone the repository and navigate to the project directory.
  2. Start the environment with:
    podman-compose up
  3. Access the load balancer at http://localhost:8080/.

Key Learnings

  • Containerize applications with Podman.
  • Configure NGINX for load balancing.
  • Use Podman Compose to manage multi-service setups.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published