Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4747

Append or Strip path to individual server in backend

$
0
0

Hello All,

First, a thank you for taking the time

I would like to add/remove a path /somepath in the backend for just one server where there are two servers LB. Let me give you an example. In the below one server 10.0.0.10 accepts traffic with /somepath but the other server 10.0.0.20 doesn’t require the /somepath. If I use a reqrep and strip /somepath it would strip it for both servers, however, I would want it to be stripped/add to only one server in the backend. I am using Haproxy version 1.5.

backend webfarm1
mode http
balance roundrobin
server webtest1 10.0.0.10:80 weight 90
server webtest2 10.0.0.20:80 weight 10

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4747

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>