Haproxy redirecting 80 traffic to the management gui
-
Hi,
I have installed HAProxy and created a shared frontend to listen to the WAN interface and another frontend (as a child to the previous one) for my webhost that listens to subdomain.domain.com
When I put the port to listen on the frontend to 80 when I go to http://subdomain.domain.com it redirects me to https://subdomain.domain.com:8443 which is the port of my pfsense webConfigurator.
If I change the rule for the front end to another port like 8080, Haproxy works fine and it sends me to the correct backend
Why is that happening?
Thank you
-
You probably need to disable the webgui redirect in System > Advanced.
-
yes that was the problem. After I disabled it, it worked fine. Thank you
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.