Skip to content

haproxy/backend/map

Automatically configured mapping of backend services to server configurations

HAProxy Backend Map

This parameter stores the automatically discovered backend service configurations used to generate the HAProxy configuration. It maps service names to their corresponding server configurations.

Requirements

  • Generated automatically by haproxy-configure.py
  • Do not modify manually - use haproxy/backend/map-override for manual configuration

Usage

The parameter is populated automatically based on discovered services. The structure is:

Text Only
  service-name:
    - "server host1.example.com 192.168.1.10:80 maxconn 32"
    - "server host2.example.com 192.168.1.11:80 maxconn 32"

Example auto-generated configuration:

Text Only
  http:
    - server web1.example.com 192.168.1.10:80 maxconn 32
    - server web2.example.com 192.168.1.11:80 maxconn 32
  https:
    - server web1.example.com 192.168.1.10:443 ssl verify none
    - server web2.example.com 192.168.1.11:443 ssl verify none

Objects that Reference haproxy/backend/map

Objects used by haproxy/backend/map

Not used in current content packs