ip nginx routing

1 post / 0 new
#1 Fri, 10/11/2013 - 23:20
xanderlexx

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 - 104.22.244.205 and Virtualmin with some internal IP - 10.178.6.204. When I'm set IP-14.22.244.205 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 : 104.22.244.205. How I can fix it or made a "forward" from 14.22.244.205 to 1.178.6.204 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....)