ip nginx routing

Hi everyone!. I’m new Virtualmin user and I have a problem with Nginx virtualhosts configuration in Virtualmin. I’m have a EC2 - instance in Amazon with some Elastic IP - and Virtualmin with some internal IP - When I’m set IP- to all virtual servers and try made a website preview I’ve an error - Connections to IP addresses not on this system are not allowed : How I can fix it or made a “forward” from to and back? How I understand - I need to configure NAT with this IP’s. I’m read a lot of information about this problem, but can’t resolve it. Please help! (Sorry for my bad english…)