From 433da7d3fdf7cc58b2728dc780bd1f871147cc35 Mon Sep 17 00:00:00 2001 From: genofire Date: Wed, 28 Jun 2023 14:51:10 +0200 Subject: [PATCH] fix: config-backend annotation also for TCP-Backends --- rootfs/etc/templates/haproxy/haproxy.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rootfs/etc/templates/haproxy/haproxy.tmpl b/rootfs/etc/templates/haproxy/haproxy.tmpl index 3e9ee244..613bcbd6 100644 --- a/rootfs/etc/templates/haproxy/haproxy.tmpl +++ b/rootfs/etc/templates/haproxy/haproxy.tmpl @@ -403,6 +403,14 @@ backend {{ $backend.ID }} {{- end }} {{- end }} +{{- /*------------------------------------*/}} +{{- range $snippet := $backend.CustomConfig }} + {{ $snippet }} +{{- end }} +{{- range $snippet := index $global.CustomProxy $backend.ID }} + {{ $snippet }} +{{- end }} + {{- /*------------------------------------*/}} {{- /* MODE HTTP */}} {{- /*------------------------------------*/}}