Closed 0x4139 closed 7 years ago
@0x4139 Simply put all your SSL certificates to the haproxy container, and haproxy will handle SNI itself.
See: https://github.com/docker/dockercloud-haproxy#ssl-termination
i don't want haproxy to handle the certificates i just want to handle the SNI.
I think you are talking about reverse proxy using SNI with SSL passthrough.
This can be config in the TCP mode in haproxy, see discussion here: http://serverfault.com/questions/625362/can-a-reverse-proxy-use-sni-with-ssl-pass-through
However, we don't support it directly. You can give a try to see if it can be configured using some envvars like EXTRA_XXX_SETTINGS
mentioned in the README manually, but personally I don't think it is going to work well.
And a PR is always welcomed. Thank you.
I have the following usecase:
i want to configure the haproxy so i can use a SNI proxy. i have no clue how to do this with this current configuration