HAProxy url Rewrite
-
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 -
Forget about it… I solved it on the server side with VHost.
Thank You
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.