From f8ff80f374d266f150665b4b4782d4d1a8af0ba5 Mon Sep 17 00:00:00 2001 From: Michael Rennecke Date: Wed, 6 Dec 2023 22:34:06 +0100 Subject: [PATCH] metrics for v4 and v6 --- roles/haproxy/templates/haproxy.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 13e5f6a..aadf26d 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -54,8 +54,10 @@ defaults frontend http - bind *:80,[::]:80 name http - bind *:443,[::]:443 name https ssl crt /etc/haproxy/certs/mail.0rpheus.net.pem crt /etc/haproxy/certs/ ecdhe secp384r1 alpn h2,http/1.1 + bind *:80 name http_v4 + bind [::]:80 name http_v6 + bind *:443 name https_v4 ssl crt /etc/haproxy/certs/mail.0rpheus.net.pem crt /etc/haproxy/certs/ ecdhe secp384r1 alpn h2,http/1.1 + bind [::]:443 name https_v6 ssl crt /etc/haproxy/certs/mail.0rpheus.net.pem crt /etc/haproxy/certs/ ecdhe secp384r1 alpn h2,http/1.1 compression algo gzip compression type text/html text/plain text/javascript application/javascript application/xml text/css