I want to do something similar to this: Create AWS Application Load Balancer Rule which trim off request's prefix without using additional reverse proxy like nginx, httpd
Using AWS Load balancer, to redirect traffic from URL say /foo
to /bar
like this:
But only GET requests are routed correctly and POST,PUT,etc get routed as GET so I'm getting an error because my controller doesn't have those GET methods.
Is there a way to do this with AWS load balancer?
The question I linked is from 2016 so I was hoping something has changed in 5 years.