Hi Daniel,

You should be able to find everything in doc/configuration.txt (or online
at [1], [2], [3]). If thats not the case, then we need to fix the docs :)

However I agree a good example is can be very useful. Perhaps we should
include this config in examples/* ...

Anyway, here we go:

global
 maxconn 100
defaults
 mode http
 timeout connect 5s
 timeout client 30s
 timeout server 30s
frontend myfrontend
 # primary cert is /home/lukas/cert/server.pem (may be a wildcard cert)
 # /home/lukas/cert/certdir/ contains additional certificates for SNI clients
 bind :443 ssl crt /home/lukas/cert/server.pem crt /home/lukas/cert/certdir/
 bind :80
 default_backend mybackend
backend mybackend
 # a http backend
 server s3 10.0.0.3:80
 # a https backend
 server s4 10.0.0.3:443 ssl



Also, when something doesn't work as expected, try with the latest snapshot
at [4] (or clone from git). v1.5 is still in development and bug fixes are
committed regularly.


Regards,
Lukas


[1] http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#5-crt
[2] http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#5.1-ssl
[3] http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#5.2-ssl
[4] http://haproxy.1wt.eu/download/1.5/src/snapshot/                            
          

Reply via email to