I'm trying to host multiple small wordpress websites with different ports (81, 82 and 83) by using docker inside EC2. Problem is when I'm trying to map those ports in AWS ALB and ALB successfully forward to each instance and wordpress but wordpress redirect to its siteURL with each ports mapping as follow:
https://my-alb-00000000.ap-southeast-1.elb.amazonaws.com:81
https://my-alb-00000000.ap-southeast-1.elb.amazonaws.com:82
https://my-alb-00000000.ap-southeast-1.elb.amazonaws.com:83
So, I want to know how to fix that issue? Could I install nginx to make port mapping or anyway to prevent wordpress siteURL mapping configuration?