AWS Load Balancer : redirection based on path but strip the path

246 Views Asked by At

Given I have two configurations in AWS Load Balancer:

I would like to add a rule which redirect https://all.domain.com/payments/* to https://payments.domain.com/*

I am able to create conditions on host and path (/payments/*), but I am not able to remove "/payments" from the path while redirecting.

In other words, how could I rewrite /#{path} to remove "/payments" ?

0

There are 0 best solutions below