Giter Site home page Giter Site logo

haproxy-cookbook's Introduction

Haproxy Cookbook

This is a Haproxy cookbook where we provide configuration files and other related material to run and use Haproxy for learning and working process, It's organized in 15 chapters. In bold you see the recipes that contain config and, ...:

If you want to participate, be sure to read how to participate.

This repository mostly contains information for this link, and is based on Haproxy 2.8 (LTS).

1. Getting started with Haporxy

- 1.0 Introduction
- 1.1 Installing on Debian/Ubuntu
- 1.2 Installing on RedHat/Centos
- 1.3 Verifying Your Installation
- 1.4 KeyFiles, Directory, and Commands

2. Load Balancing

- 2.0 Introduction
- 2.1 HTTP Load Balancing
- 2.2 TCP Load Balancing

3. Traffic Management

- 3.0 Introduction
- 3.1 A/B Testing
- 3.2 Use the GeoIP Database With HAProxy
- 3.3 Restricting Access Based on Country haproxy
- 3.4 Finding the Original Client
- 3.5 Limiting Connections
- 3.6 Limiting Rate
- 3.7 Limiting Bandwidth

4. Content Caching

- 4.0 Introduction
- 4.1 Cache based on a condition
- 4.2 Cache restrictions

5. Authentication

- 5.0 Introduction
- 5.1 Basic Authentication
- 5.2 Client Certificates
- 5.3 OAuth 2.0 Authorization

6. Security Controls

- 6.0 Introduction
- 6.1 Access Based on IP Address
- 6.2 Allowing Cross-Origin Resource Sharing
- 6.3 HTTPS Redirects
- 6.4 HAProxy SSL Termination
- 6.5 HTTP Strict Transport Security

7. HTTP/2

- 7.0 Introduction
- 7.1 Basic Configuration
- 7.2 gRPC

8. Containers/Microservices

- 8.0 Introduction
- 8.1 Using Haproxy as an API Gateway
- 8.2 Service discovery with SRV records
- 8.3 Using the Official Haproxy Image
- 8.4 Creating an Haproxy Dockerfile
- 8.5 Using Variables in Haproxy
- 8.6 Kubernetes Ingress Controller
- 8.7 Prometheus Exporter Module

9. Alerts and Monitoring

- 9.0 Introduction
- 9.1 Email alerts
- 9.2 Error pages
- 9.3 Monitor URI
- 9.4 Prometheus metrics

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.