How to pass traffic of an API on one VM through kong which is installed on another VM

I have an application installed on VM and runs on port 8080. As of now I am using nginx to redirect it to 80.

I want to pass the traffic to my application via kong and kong is installed on another VM. LIke below:

VM1 - app --> localhost:8080 , proxy_pass 8080 to 80 and app works on port 80 outside.

VM2 - kong installed.

My requirement is simple. What should I do pass the traffic to app through kong. I have already created service and route for that app but when I point kong IP in DNS record… its not working.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ