@rootfs wrote:
Hi
I have some problem with backend redirectionHere is my configs
frontend
acl somesite-acl path_sub /service/v2/amount/balance path_sub /service/v2/amount/fund path_sub /service/pg path_sub /service/testing
use_backend be_somesite if somesite-aclbackend be_somesite
http-request set-header Host somesite.com
reqirep ^([^\ :])\ /(.) \1\ /service/v2/amount/\2
reqirep ^([^\ :])\ /(.) \1\ /service/pg/\2
reqirep ^([^\ :]*)\ /testing \1\ /service/tested/\2
server site_node somesite.com:443 cookie S2 cookie S2 check ssl verify noneBelow is what I want to achieve
example.com/service/v2/amount/balance
somesite.com/service/v2/amount/balanceexample.com/service/v2/amount/fund
somesite.com/service/v2/amount/fundexample.com/service/pg
somesite.com/service/pgexample.com/service/testing
somesite.com/service/testedCan someone try to help as I am new to haproxy and I have been working from few days to fix this, but haven’t find any solution yet
Posts: 1
Participants: 1