how to configure Nginx as reverse proxy the requests to backend server based on port number -
i have have 4 web applications running in 1 ec2-instance hostname "ip-10-176-225-83.us-west-2.compute.internal" on ports 8888, 8088, 8042 , 8890. web application on http.
our security team doesn't allow open http port onpremise aws. suggest setup reverse proxy in same vpc subent takes https requests , forward same end webservers using http.
i have created new instance in same subnet hostname "ip-10-176-225-84.us-west-2.compute.internal" , installed niginx server.
how can configure nginx below
https://ip-10-176-225-84.us-west-2.compute.internal:8080 call http://ip-10-176-225-83.us-west-2.compute.internal:8080 , responds back
same other ports
Comments
Post a Comment