diff --git a/rootfs/etc/haproxy/template/haproxy-v07.tmpl b/rootfs/etc/haproxy/template/haproxy-v07.tmpl index c31d26c4e..bf8cacfab 100644 --- a/rootfs/etc/haproxy/template/haproxy-v07.tmpl +++ b/rootfs/etc/haproxy/template/haproxy-v07.tmpl @@ -393,7 +393,7 @@ frontend http{{ if and $hasSSL (not $hasBalance) }}s{{ end }}front-{{ if $isShar {{- end }} {{- /*------------------------------------*/}} -{{- if $hasBalance }} +{{- if and $hasBalance (not $isDefault) }} {{- range $snippet := $ing.ConfigFrontend }} {{ $snippet }} {{- end }}