haproxy not responding
-
Hi,
watched Lawrence's Video on YT on how to setup haproxy. No chance. My Pfssense is in Datacneter with public an private IP. Private IP is connected to the actual backend Server with Apache2, Postfix etc. Before haproy tunred on I used NAT to reach Apache2 on port 443. For testing I turned NAT off. Here are my settings:
Apache2 has Let's encrypt cert attached. I have no clue what is going wrong. Apache logs just show this:
Please help me out. Thanks.
-
@toddehb
Did you add the SSL certificate to the frontend?Then type "https://" in the browsers address line in front of the host name.
-
Yes, cert from acme is in frontend and https is implied resp. explicitly written. Tried several browsers, same result.
-
@toddehb
I've no doubt, that your browser tries to connect to the URL you've entered. But did you enter it correctly? -
@viragomann said in haproxy not responding:
@toddehb
I've no doubt, that your browser tries to connect to the URL you've entered. But did you enter it correctly?absolutely
-
I played arround with frontend settings
Just changed to "Host matches" Now my browser is giving me this:
-
@toddehb
Means, HAproxy has no idea, what to do with your request. -
@viragomann said in haproxy not responding:
@toddehb
Means, HAproxy has no idea, what to do with your request.I got it working when setting "use default" backend. Looks like haproxy has problem with the match parameters.
-
@toddehb said in haproxy not responding:
Looks like haproxy has problem with the match parameters.
Which one?
"host starts with" and "host matches" are different conditions. The first expects the beginning part of the host name, the latter the whole.
-
"Host Matches" in my Case works only when also setting to "use defaults"