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

    HAProxy with different Frontend and Backend URLs

    Scheduled Pinned Locked Moved Cache/Proxy
    haproxy
    1 Posts 1 Posters 605 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
      mr-elamin2
      last edited by

      Hello,
      My HAPeoxy listing to the URL example.corp.example.com on port 443, if it match, the frontend will use the Backend as in the screenshot bellow:
      mobile screenshot
      I can now open the url from any client “example.corp.example.com” but when I open any directory on the website (for example “example.corp.example.com/wp-admin”) the client is getting automatically redirected to a new url “example.com/wp-admin”

      This post helped me to make the ACL “http-request header set” as you see in the screenshot.
      Re: HAProxy reverse proxy with host headers

      But I wonder what shall I do next to let the client stay on example.corp.rikazsd.com/***** ?

      I appreciate any help. Thanks a lot.

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