Hi
Am 02-09-2016 22:58, schrieb Klaus Foerster:
For one project I use haproxy in https tcp mode.
I configured it such, that depending on the server name detected via
SNI, the data is forwarded via the proxy protocol to a proxy protocol
aware https server (e.g. nginx)
However for a few servers I'd like haproxy to act as an SSL endpoint
and forward plain http traffic to the final host.
Can implement this with with one haproxy instance?
At the moment I'm using haproxy as SNI forwarder in TCP mode and nginx
to act as https end point.
I just wondered whether there isn't a better solution
[snipped]
Maybe you can reuse some of the config in openshift.
https://github.com/openshift/origin/blob/master/images/router/haproxy/conf/haproxy-config.template#L115-L133
and
https://github.com/openshift/origin/blob/master/images/router/haproxy/conf/haproxy-config.template#L163-L167
they work with maps.
BR Aleks