From f3c1bf67fe74c8355b57b45d137ae10c6110fe20 Mon Sep 17 00:00:00 2001 From: do Date: Mon, 1 Feb 2021 16:41:52 +0100 Subject: [PATCH] haproxy with chain.pem ssl --- base/hostconfig/auto02.sls | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/base/hostconfig/auto02.sls b/base/hostconfig/auto02.sls index 71d1f00..1f58ba2 100644 --- a/base/hostconfig/auto02.sls +++ b/base/hostconfig/auto02.sls @@ -90,7 +90,7 @@ haproxy: - connect 5000 - client 50000 - server 50000 - - tunnel 60000 #longer timeouts for websockets + - tunnel 80000 #longer timeouts for websockets - http-request 5s errorfiles: 400: /etc/haproxy/errors/400.http @@ -119,7 +119,9 @@ haproxy: frontends: frontend1: name: www-http - bind: "*:80" + bind: + - "*:80" + - "*:443 ssl crt /etc/pki/chain.pem" default_backend: auto acls: - host_auto hdr_beg(host) -i auto.