doc: haproxy_base_service_overrides

to include haproxy_map_entries. This will ensure
/etc/haproxy/base_domain.map file is created.

Change-Id: If13634e12f033e0227124e5ae5e57cd398e5089f
This commit is contained in:
James Park-Watt
2025-05-13 13:43:03 +01:00
parent cd6e203c5f
commit 192501dfab

View File

@@ -58,6 +58,10 @@ We need to make adjustments to each HAProxy service definition to:
haproxy_base_service_overrides:
haproxy_maps:
- 'use_backend %[req.hdr(host),map_dom(/etc/haproxy/base_domain.map)]'
haproxy_map_entries:
- name: base_domain
entries:
- "# Domain map file - this comment is defined in the base frontend config"
* Populate a "base" map file with search patterns per service backend. As each
service is going to use its own FQDN we need to inform HAProxy which backend