I have a static website hosted on AWS Amplify. eg: https://newproject.mysite.com
Then I have an instance similar to ec2 where I am running Spring Boot on port 8080. eg ip: http://132.167.12.123:8080
Now I want to redirect https://newproject.mysite.com:8080
to http://132.167.12.123:8080
so whenever there's a request for port 8080 on that domain, I need to redirect it to the ec2 instance.
I have tried redirecting it from AWS Amplify redirect console, but it is not working. So any help would be highly appreciated. Thanks