HAProxy rewrite SSL handshake failed
-
Hello,
I've set up a simple HAProxy to offload SSL. Like so:
0.0.0.0:43438 (https) -> HAProxy -> backend 10.200.0.10:80 (http)
everything works fine, but the http to https redirect doesn't.
I tried:
- Rule: schema https
- Rule: scheme https unless { ssl_fc }
- Adv. pass thru rule: same as above
- Adv. pass thru rule: something with 301 redirect
- second haproxy for plain connection to https redirect
nothing seems to work. I also checked the config file directly and can't figure out why it's not working. It seems like a trivial, everyday problem.
I am testing with curl -v -L against the http site and get a empty reply from server, not redirect, no nothing.
Thanks for the support
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.