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

    HAProxy url Rewrite

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 1 Posters 1.1k 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.
    • SoloamS
      Soloam
      last edited by

      Hello I have a service running on https://192.168.1.20:4040/myservice and I would like to access it from https://myservice.myhome

      I have it running so that I can route https://myservice.myhome to https://192.168.1.20:4040.

      I have set a Frontend to https://myservice.myhome and a backend to 192.168.1.20:4040, so now I can access my service from https://myservice.myhome/myservice. Now I can't get ride of /myservice. I looked on the we and some people talk about reqrep so I tried a custum action on the FrontEnd reqrep ^([^/])/?(.)  \1:4040/myservice/\2 but if I do this I have to replace the backend

      No luck

      Can any one help me?
      Thank You

      1 Reply Last reply Reply Quote 0
      • SoloamS
        Soloam
        last edited by

        Forget about it… I solved it on the server side with VHost.

        Thank You

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