Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Haproxy redirecting 80 traffic to the management gui

    Scheduled Pinned Locked Moved Cache/Proxy
    3 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mogiie
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        You probably need to disable the webgui redirect in System > Advanced.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • M
          mogiie
          last edited by

          yes that was the problem. After I disabled it, it worked fine. Thank you

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.