haproxy with chain.pem ssl

This commit is contained in:
do
2021-02-01 16:41:52 +01:00
parent 10d9fcbc7c
commit f3c1bf67fe

View File

@@ -90,7 +90,7 @@ haproxy:
- connect 5000 - connect 5000
- client 50000 - client 50000
- server 50000 - server 50000
- tunnel 60000 #longer timeouts for websockets - tunnel 80000 #longer timeouts for websockets
- http-request 5s - http-request 5s
errorfiles: errorfiles:
400: /etc/haproxy/errors/400.http 400: /etc/haproxy/errors/400.http
@@ -119,7 +119,9 @@ haproxy:
frontends: frontends:
frontend1: frontend1:
name: www-http name: www-http
bind: "*:80" bind:
- "*:80"
- "*:443 ssl crt /etc/pki/chain.pem"
default_backend: auto default_backend: auto
acls: acls:
- host_auto hdr_beg(host) -i auto. - host_auto hdr_beg(host) -i auto.